package ez_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Server = Cohttp_lwt_unix.Server
val set_debug : unit -> unit
val register_ip : Cohttp.Request.t -> Conduit_lwt_unix.flow -> float -> unit
val headers_from_cohttp : Cohttp.Request.t -> string list EzAPIServerUtils.StringMap.t
val meth_from_cohttp : Cohttp.Request.t -> [> EzAPI.Meth.all ] option
val version_from_cohttp : Cohttp.Request.t -> [> EzAPIServerUtils.Req.version ] option
val debug_cohttp : Cohttp.Request.t -> unit
val dispatch : ?catch:(string -> exn -> string EzAPIServerUtils.Answer.t Lwt.t) -> EzAPIServerUtils.server -> Conduit_lwt_unix.flow -> Cohttp.Request.t -> Cohttp_lwt.Body.t -> [> `Response of Http.Response.t * Server.body ] Lwt.t
val create_server : ?catch:(string -> exn -> string EzAPIServerUtils.Answer.t Lwt.t) -> int -> EzAPIServerUtils.server_kind -> unit Lwt.t
val server : ?catch:(string -> exn -> string EzAPIServerUtils.Answer.t Lwt.t) -> (int * EzAPIServerUtils.server_kind) list -> unit Lwt.t
OCaml

Innovation. Community. Security.