package ez_api

  1. Overview
  2. Docs
module StringMap : sig ... end
type version = [
  1. | `HTTP_1_0
  2. | `HTTP_1_1
]
type t = {
  1. req_version : version;
  2. req_time : float;
  3. req_headers : string list StringMap.t;
  4. req_params : string list StringMap.t;
  5. req_id : Uuidm.t;
}
val dummy : t
val add_params : t -> (StringMap.key * string list) list -> t
val request : ?version:version -> ?headers:string list StringMap.t -> ?time:float -> Uri.t -> string * string list * string option * t
val find_params : Param.t -> t -> string list option
val find_param : Param.t -> t -> string option
OCaml

Innovation. Community. Security.