package ez_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type (!'arg, !'input, !'output, 'error, 'a) service = (unit, 'arg, 'input, 'output) EzAPI.Legacy.service constraint 'a = [< EzAPI.Security.scheme ]
type (!'output, 'error, 'a) service0 = 'output EzAPI.Legacy.service0 constraint 'a = [< EzAPI.Security.scheme ]
type (!'arg, !'output, 'error, 'a) service1 = ('arg, 'output) EzAPI.Legacy.service1 constraint 'a = [< EzAPI.Security.scheme ]
type (!'arg1, !'arg2, !'output, 'error, 'a) service2 = ('arg1, 'arg2, 'output) EzAPI.Legacy.service2 constraint 'a = [< EzAPI.Security.scheme ]
type (!'input, !'output, 'error, 'a) post_service0 = ('input, 'output) EzAPI.Legacy.post_service0 constraint 'a = [< EzAPI.Security.scheme ]
type (!'arg, !'input, !'output, 'error, 'a) post_service1 = ('arg, 'input, 'output) EzAPI.Legacy.post_service1 constraint 'a = [< EzAPI.Security.scheme ]
type (!'arg1, !'arg2, !'input, !'output, 'error, 'a) post_service2 = ('arg1, 'arg2, 'input, 'output) EzAPI.Legacy.post_service2 constraint 'a = [< EzAPI.Security.scheme ]
type _ api_error = int * string option
val get0 : ?post:bool -> ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> EzAPI.base_url -> ('output, 'error, [< EzAPI.Security.scheme ]) service0 -> ('output, 'error api_error) Stdlib.result Lwt.t
val get1 : ?post:bool -> ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> EzAPI.base_url -> ('arg, 'output, 'error, [< EzAPI.Security.scheme ]) service1 -> 'arg -> ('output, 'error api_error) Stdlib.result Lwt.t
val get2 : ?post:bool -> ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> EzAPI.base_url -> ('arg1, 'arg2, 'output, 'error, [< EzAPI.Security.scheme ]) service2 -> 'arg1 -> 'arg2 -> ('output, 'error api_error) Stdlib.result Lwt.t
val post0 : ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> ?url_encode:bool -> input:'input -> EzAPI.base_url -> ('input, 'output, 'error, [< EzAPI.Security.scheme ]) post_service0 -> ('output, 'error api_error) Stdlib.result Lwt.t
val post1 : ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> ?url_encode:bool -> input:'input -> EzAPI.base_url -> ('arg, 'input, 'output, 'error, [< EzAPI.Security.scheme ]) post_service1 -> 'arg -> ('output, 'error api_error) Stdlib.result Lwt.t
val post2 : ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> ?url_encode:bool -> input:'input -> EzAPI.base_url -> ('arg1, 'arg2, 'input, 'output, 'error, [< EzAPI.Security.scheme ]) post_service2 -> 'arg1 -> 'arg2 -> ('output, 'error api_error) Stdlib.result Lwt.t
val request : ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> ?post:bool -> ?url_encode:bool -> input:'input -> EzAPI.base_url -> ('arg, 'input, 'output, 'error, [< EzAPI.Security.scheme ]) service -> 'arg -> ('output, 'error api_error) Stdlib.result Lwt.t
val handle_error : ('a -> string option) -> 'a api_error -> int * string option
val string_of_error : ('a -> string option) -> 'a api_error -> string
OCaml

Innovation. Community. Security.