Skip to main content

Module qpack

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.
DecoderConfig
Configuration limits for a Decoder.
EncodeField
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.
EncoderConfig
Configuration and local resource budgets for an Encoder.
FieldPair
A decoded field line (raw bytes; HTTP validation happens elsewhere).

Enums§

ErrorScope
Scope of a terminal HTTP/3 error.
QpackError
A QPACK error with its RFC 9204 §§6/7.4 wire code and scope, or retryable local backpressure.