Skip to main content

Module framing

Module framing 

Source
Expand description

Length-prefixed framing: each payload is preceded by its unsigned 32-bit big-endian length.

Structs§

FrameDecoder
FrameError

Constants§

DEFAULT_MAX_FRAME_LENGTH
Default upper bound for one framed CBOR payload.
MAX_SERVER_FRAME_LENGTH
Upper bound for one server message on the local socket. A session’s transcript snapshot travels in one subscribe response, and a long session’s runs past 16 MiB (a 186 MB journal held 19 MB of transcript).

Functions§

encode_frame