package dream

  1. Overview
  2. Docs
Tidy, feature-complete Web framework

Install

Dune Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha2.tar.gz
sha256=bf19c13f0da7e01cc30b8dfaa1fca1dc8b44a06fb6e0eef56d56513952b9bb01
md5=1220f17530522e488653eb91115867e3

doc/dream.hpack/Hpack/Decoder/index.html

Module Hpack.DecoderSource

Sourcetype t
Sourceval create : int -> t

create 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.

Sourceval set_capacity : t -> int -> (unit, error) result

set_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.

Sourceval decode_headers : t -> (header list, error) result Angstrom.t

decode_headers decoder creates an Angstrom parser that will decode a header block and return a list of the decoded headers

OCaml

Innovation. Community. Security.