Skip to main content

Module http1

Module http1 

Source
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 input was consumed, and the event it produced, if any. See the step contract.

Enums§

BodyLength
How the body after an encoded head is framed.
Event
Mode
Which side of the connection a Decoder reads.