package resto-cohttp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. allowed_headers : string list;
  2. allowed_origins : string list;
}
val default : t
val add_allow_origin : Cohttp.Header.t -> t -> string option -> Cohttp.Header.t
val add_headers : Cohttp.Header.t -> t -> string option -> Cohttp.Header.t
val check_host : Cohttp.Header.t -> t -> bool
OCaml

Innovation. Community. Security.