val create : int -> tcreate capacity initializes an encoder with a dynamic table with maximum size capacity. This size is an approximation of the memory overhead in bytes.
See RFC7541§4.1 for more details.
encode_header encoder f header writes an encoded header to the Faraday buffer f.
val set_capacity : t -> int -> unitset_capacity encoder capacity sets encoder'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.