Skip to main content

Module framing

Module framing 

Source

Structs§

FramedStream
Wraps an async stream with 4-byte little-endian length-prefix framing.

Enums§

FramingError

Constants§

MAX_MESSAGE_BYTES
Maximum body size accepted by recv. Connections sending a larger length header are terminated immediately.