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/Dynamic_table/index.html

Module Dream_hpack.Dynamic_tableSource

Sourcetype t = {
  1. mutable entries : (string * string * int) array;
  2. mutable length : int;
  3. mutable offset : int;
  4. mutable capacity : int;
  5. mutable size : int;
  6. mutable max_size : int;
  7. on_evict : (string * string) -> unit;
}
Sourceval default_entry : string * string * int
Sourceval default_evict : (string * string) -> unit
Sourceval create : ?on_evict:((string * string) -> unit) -> int -> t
Sourceval _get : t -> int -> string * string * int
Sourceval get : t -> int -> string * string
Sourceval entry_size : string -> string -> int
Sourceval evict_one : t -> unit
Sourceval increase_capacity : t -> unit
Sourceval add : t -> (string * string) -> unit
Sourceval table_size : t -> int
Sourceval set_capacity : t -> int -> unit
OCaml

Innovation. Community. Security.