Skip to main content

decode

Function decode 

Source
pub fn decode(encoded: &[u8]) -> Result<Vec<u8>, Violation>
Expand description

Decodes a Huffman-encoded string literal.

Every failure is the same stream error, carrying QPACK_DECOMPRESSION_FAILED and ending only the request that carried the literal – this server’s own rule, not one RFC 7541 or RFC 9204 states; see failed below for why.