val create : int -> tcreate capacity initializes a decoder with a dynamic table with maximum size capacity. This size is an approximation of the memory usage in bytes.
See RFC7541§4.1 for more details.
val set_capacity : t -> int -> (unit, error) Stdlib.resultset_capacity decoder capacity sets decoder's dynamic table size to maximum size capacity. This size is an approximation of the memory overhead in bytes.
See RFC7540§6.5.2 and RFC7541§4.1 for more details.
val decode_headers : t -> (header list, error) Stdlib.result Angstrom.tdecode_headers decoder creates an Angstrom parser that will decode a header block and return a list of the decoded headers