package dream-httpaf

  1. Overview
  2. Docs
Internal: shared http/af stack for Dream (server) and Hyper (client)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha6.tar.gz
sha256=8d3b6344c0e175aca628b3d5bb8ee58265e8c1074fc2d40d63f136fef83daf90

doc/dream-httpaf.dream-hpack/Dream_hpack/Encoder/index.html

Module Dream_hpack.EncoderSource

Sourcemodule HeaderFieldsTbl : sig ... end
Sourcemodule ValueMap : sig ... end
Sourcetype t = {
  1. table : Dynamic_table.t;
  2. lookup_table : int ValueMap.t HeaderFieldsTbl.t;
  3. mutable next_seq : int;
}
Sourcemodule BinaryFormat : sig ... end
Sourceval create : int -> t
Sourceval add : t -> (HeaderFieldsTbl.key * ValueMap.key) -> unit
Sourceval encode : t -> Types.header -> (int * int) * int
Sourceval encode_int : Faraday.t -> int -> int -> int -> unit
Sourceval encode_header : t -> Faraday.t -> Types.header -> unit
Sourceval set_capacity : t -> int -> unit
OCaml

Innovation. Community. Security.