Expand description
Length-prefixed canonical JSON transport.
Wire format: [4-byte big-endian length][canonical JSON bytes]
The transport is generic over Read and Write so it works with pipes,
TCP, Unix domain sockets, or in-memory buffers for testing.
Structs§
- Chio
Transport - Length-prefixed canonical JSON transport.
Enums§
- Transport
Error - Errors produced by the transport layer.
Functions§
- read_
frame - Read a single length-prefixed frame from a reader.
- write_
frame - Write a single length-prefixed frame to a writer.