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-httpaf_/Dream_httpaf_/Headers/index.html

Module Dream_httpaf_.HeadersSource

Sourcetype t
Sourcetype name = string
Sourcetype value = string
Sourceval ci_equal : string -> string -> bool

Case-insensitive equality for testing header names or values

Sourceval empty : t
Sourceval of_list : (name * value) list -> t
Sourceval of_rev_list : (name * value) list -> t
Sourceval to_list : t -> (name * value) list
Sourceval to_rev_list : t -> (name * value) list
Sourceval add : t -> name -> value -> t
Sourceval add_unless_exists : t -> name -> value -> t
Sourceval add_list : t -> (name * value) list -> t
Sourceval add_multi : t -> (name * value list) list -> t
Sourceval remove : t -> name -> t
Sourceval replace : t -> name -> value -> t
Sourceval mem : t -> name -> bool
Sourceval get : t -> name -> value option
Sourceval get_exn : t -> name -> value
Sourceval get_multi : t -> name -> value list
Sourceval iter : f:(name -> value -> unit) -> t -> unit
Sourceval fold : f:(name -> value -> 'a -> 'a) -> init:'a -> t -> 'a
Sourceval to_string : t -> string
Sourceval pp_hum : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.