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