Expand description
Length-prefixed framing codec for Unix domain socket transport.
Wire format: [u32 BE length][JSON payload]. The length is the byte count
of the JSON payload only (not including the 4-byte header).
Enums§
- Frame
Error - Errors that can occur during frame read/write.
Functions§
- read_
message - Read a length-prefixed JSON frame and deserialize into a typed message.
- write_
message - Write a typed message as a length-prefixed JSON frame.