package ez_api

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module EzAPIServerCohttpSource

Sourceval set_debug : unit -> unit
Sourceval register_ip : Cohttp.Request.t -> Conduit_lwt_unix.flow -> float -> unit
Sourceval headers_from_cohttp : Cohttp.Request.t -> string list EzAPIServerUtils.StringMap.t
Sourceval meth_from_cohttp : Cohttp.Request.t -> [> EzAPI.Meth.all ] option
Sourceval version_from_cohttp : Cohttp.Request.t -> [> EzAPIServerUtils.Req.version ] option
Sourceval debug_cohttp : Cohttp.Request.t -> unit
Sourceval 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 * Cohttp_lwt__.Body.t ] Lwt.t
Sourceval create_server : ?catch:(string -> exn -> string EzAPIServerUtils.Answer.t Lwt.t) -> int -> EzAPIServerUtils.server_kind -> unit Lwt.t
Sourceval server : ?catch:(string -> exn -> string EzAPIServerUtils.Answer.t Lwt.t) -> (int * EzAPIServerUtils.server_kind) list -> unit Lwt.t
OCaml

Innovation. Community. Security.