package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 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;
}
val default_entry : string * string * int
val default_evict : (string * string) -> unit
val create : ?on_evict:((string * string) -> unit) -> int -> t
val _get : t -> int -> string * string * int
val get : t -> int -> string * string
val entry_size : string -> string -> int
val evict_one : t -> unit
val increase_capacity : t -> unit
val add : t -> (string * string) -> unit
val table_size : t -> int
val set_capacity : t -> int -> unit
OCaml

Innovation. Community. Security.