package piaf
An HTTP library with HTTP/2 support written entirely in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
piaf-0.1.0.tbz
sha256=00c3bea6d1a8c77dc18bbbbf1f449a78253cf17391ad153751b2e87f71307265
sha512=0f35e88b78ec1f1cd06a972ee69e29a8983b4c07dbc0268cc9764d8df5d9c2402cc3710874f54a111095fb57a08fe582d99d1b7e070e141e260af6ced50172aa
doc/piaf.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)"
>