package ez_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = {
  1. code : int;
  2. body : 'a;
  3. headers : (string * string) list;
}
val return : ?code:int -> ?headers:(string * string) list -> 'a -> 'a t Lwt.t
val not_found : unit -> string t Lwt.t
val headers : (string * string) list
val cannot_parse : (EzAPI.Arg.descr * string * string list) -> string t Lwt.t
val method_not_allowed : unit -> string t Lwt.t
val destruct_exception : exn -> string t Lwt.t
val unsupported_media_type : string option -> string t Lwt.t
val server_error : exn -> string t Lwt.t
OCaml

Innovation. Community. Security.