Module H2_hpack_tables

Internal module - not part of the public API.

HPACK static table and token indices per RFC 7541 Appendix A. These tables are used internally by H2_hpack. Direct use is not recommended and the API may change without notice.

val static_table_size : int

Size of the HPACK static table (61 entries).

val static_table : (string * string) array

The HPACK static table as (name, value) pairs.

module TokenIndices : sig ... end

Token indices for commonly accessed headers. These correspond to 0-based indices into static_table.

val lookup_token_index : string -> int

lookup_token_index name returns the static table token index for name, or -1 if not found.