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-alpha5.tar.gz
sha256=05bc7f6aff94893c151f3a5bcdee3328920c69b3763fac49ba27348dc7745901
md5=de6f6908ae899c9e85f2c751a0263932

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

Module Dream_hpack.EncoderSource

Sourcemodule IntSet : sig ... end
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_missing_value : t -> bool -> int -> HeaderFieldsTbl.key -> ValueMap.key -> (int * int) * int
Sourceval find_token : t -> bool -> int -> HeaderFieldsTbl.key -> ValueMap.key -> (int * int) * int
Sourceval seq_to_index : int -> int -> int
Sourceval tokens_without_indexing : IntSet.t
Sourceval is_without_indexing : IntSet.elt -> bool
Sourceval is_sensitive : int -> string -> bool
Sourceval encode : t -> Types.header -> (int * int) * int
Sourceval encode_int : Faraday.t -> int -> int -> int -> unit
Sourceval encode_string : Faraday.t -> string -> unit
Sourceval encode_header : t -> Faraday.t -> Types.header -> unit
Sourceval set_capacity : t -> int -> unit
OCaml

Innovation. Community. Security.