Skip to main content

hpack_encode_literal_without_indexing

Function hpack_encode_literal_without_indexing 

Source
pub fn hpack_encode_literal_without_indexing(
    out: &mut Vec<u8>,
    name: &[u8],
    value: &[u8],
)
Expand description

Encode a literal header field without indexing (RFC 7541).

This is intentionally minimal:

  • never uses huffman
  • never indexes into dynamic table
  • always encodes the name as a literal (name-index = 0)