Module darkfi::rpc::common

source ยท
Expand description

Common internal functions

Constantsยง

Functionsยง

  • read_from_stream ๐Ÿ”’
    Internal read function that reads from the active stream into a buffer. Reading stops upon reaching CRLF or LF, or when MAX_BUF_SIZE is reached.
  • write_to_stream ๐Ÿ”’
    Internal write function that writes a JSON-RPC object to the active stream.