Module darkfi::rpc::common

source ·
Expand description

Common internal functions

Constants§

Functions§

  • 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.
  • Internal write function that writes a JSON-RPC object to the active stream.