Module qpack
Available on crate features
http-backend and http and std only.Expand description
Connection-scoped QPACK (RFC 9204): the dynamic table plus the stateful encoder and decoder.
The pure wire vocabulary — the static table, prefixed codings, field-line and instruction
representations — lives in rama_http_types::proto::h3::qpack; this module adds the
connection state that turns those representations into a working compressor.
Modules§
- dynamic_
table - The QPACK dynamic table (RFC 9204 §3.2), shared by the encoder and decoder.
Structs§
- Decoder
- A stateful QPACK decoder for one connection.
- Decoder
Config - Configuration limits for a
Decoder. - Encode
Field - Encoder input preserving the never-index requirement across intermediary hops.
- Encoder
- Stateful encoder for one connection. Dynamic insertion and references fall back to literals when budgets are exhausted; invalid/oversized input fails before any state changes.
- Encoder
Config - Configuration and local resource budgets for an
Encoder. - Field
Pair - A decoded field line (raw bytes; HTTP validation happens elsewhere).
Enums§
- Error
Scope - Scope of a terminal HTTP/3 error.
- Qpack
Error - A QPACK error with its RFC 9204 §§6/7.4 wire code and scope, or retryable local backpressure.