package dream-httpaf
Internal: shared http/af stack for Dream (server) and Hyper (client)
Install
Dune Dependency
Authors
Maintainers
Sources
dream-1.0.0-alpha3.tar.gz
sha256=f289253109aee39ab912f9f38aa5e7b44e0b4b01fd7d3dd5c407b034c57f01bc
md5=148588e6f584cd9f2438e56da7df2f56
doc/dream-httpaf.hpack/Hpack/Encoder/index.html
Module Hpack.Encoder
Source
create 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
.
set_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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>