Module capsule
Available on crate features
http and std only.Expand description
Capsule Protocol wire values (RFC 9297 §3.2), shared by every HTTP version.
A capsule is Type (i), Length (i), Value (..) on a request’s data stream: the bytes after
a 101 on HTTP/1.x and the DATA frame payloads of the request stream on HTTP/2 and HTTP/3.
Integers use the QUIC variable-length encoding and need not be minimal (RFC 9297 §1.1).
Structs§
- Capsule
Header - The type and value length that precede a Capsule Value.
- Capsule
Type - A Capsule Type (RFC 9297 §3.2, §5.4).
- Invalid
Capsule - capsule type or length exceeds the variable-length integer range