Expand description
QPACK (RFC 9204) for simoom.
Decoder: bounded dynamic table, blocked streams with a limit, encoder-stream input and decoder-stream output.Encoder: static table only by default;Encoder::with_dynamic_tableenables a dynamic table that never evicts unacknowledged or referenced entries and respects the peer’s blocked-streams limit.huffman: the RFC 7541 Huffman code.
Modules§
- huffman
- Huffman coding (RFC 7541 section 5.2 and Appendix B), shared with HPACK: this is simoom-hpack’s code table, encoder and table-driven decoder, so a build with both HTTP/2 and HTTP/3 carries one copy.
Structs§
- Decoder
- A QPACK decoder for one HTTP/3 connection.
- Encoder
- A QPACK encoder for one HTTP/3 connection.
- Field
- One field line: a name and a value.
Enums§
- Decoded
- Result of decoding a field section.
- Error
- QPACK errors.
Error::codegives the HTTP/3 error code.
Constants§
- MAX_INT
- Largest integer QPACK accepts (62 bits, the QUIC varint range).
Statics§
- STATIC_
TABLE - The QPACK static table, 99 entries (RFC 9204 Appendix A).
Functions§
- put_int
- Appends an
n-bit prefixed integer whose first byte carriesflagsin the high bits.