Module bore_cli::shared

source ·
Expand description

Shared data structures, utilities, and protocol definitions.

Structs

Transport stream with JSON frames delimited by null characters.

Enums

A message from the client on the control connection.
A message from the server on the control connection.

Constants

TCP port used for control connections with the server.
Maxmium byte length for a JSON frame in the stream.
Timeout for network connections and initial protocol messages.

Functions

Copy data mutually between two read/write streams.