Expand description
Incremental RFC 9112 framing. The host retains unconsumed input and owns writes.
Body borrows input; head/trailer allocations are the returned representation.
Structs§
- Decoder
- Encoder
- Caller-owned wire buffer, reused across commands. No body buffering.
- Head
- Header
- Limits
- Step
- One decode step: how much of
inputwas consumed, and the event it produced, if any. See the step contract.
Enums§
- Body
Length - How the body after an encoded head is framed.
- Event
- Mode
- Which side of the connection a
Decoderreads.