package ez_api

  1. Overview
  2. No Docs
Easy API library and tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.1.1.tar.gz
md5=65d5fef737c82120d579d10a1727b8e4
sha512=2ea5c072d5a4c264263264cfd485eadae2bd7f47949dbc9cb4cf93db89640d91542463ed8b9f4d6679f21bbd1efbfa6c224ff36f1807a8d8af9d0568cf8a4292

doc/ez_api.req_lwt_default/EzReq_lwt/Legacy/index.html

Module EzReq_lwt.LegacySource

Sourcetype ('arg, 'input, 'output, 'error, 'security) service = (unit, 'arg, 'input, 'output) EzAPI.Legacy.service
Sourcetype ('output, 'error, 'security) service0 = 'output EzAPI.Legacy.service0
Sourcetype ('arg, 'output, 'error, 'security) service1 = ('arg, 'output) EzAPI.Legacy.service1
Sourcetype ('arg1, 'arg2, 'output, 'error, 'security) service2 = ('arg1, 'arg2, 'output) EzAPI.Legacy.service2
Sourcetype ('input, 'output, 'error, 'security) post_service0 = ('input, 'output) EzAPI.Legacy.post_service0
Sourcetype ('arg, 'input, 'output, 'error, 'security) post_service1 = ('arg, 'input, 'output) EzAPI.Legacy.post_service1
Sourcetype ('arg1, 'arg2, 'input, 'output, 'error, 'security) post_service2 = ('arg1, 'arg2, 'input, 'output) EzAPI.Legacy.post_service2
Sourcetype _ api_error = int * string option
Sourceval get0 : ?post:bool -> ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> EzAPI.base_url -> ('output, 'error, 'security) service0 -> ('output, 'error api_error) result Lwt.t
Sourceval get1 : ?post:bool -> ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> EzAPI.base_url -> ('arg, 'output, 'error, 'security) service1 -> 'arg -> ('output, 'error api_error) result Lwt.t
Sourceval get2 : ?post:bool -> ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> EzAPI.base_url -> ('arg1, 'arg2, 'output, 'error, 'security) service2 -> 'arg1 -> 'arg2 -> ('output, 'error api_error) result Lwt.t
Sourceval 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, 'security) post_service0 -> ('output, 'error api_error) result Lwt.t
Sourceval 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, 'security) post_service1 -> 'arg -> ('output, 'error api_error) result Lwt.t
Sourceval 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, 'security) post_service2 -> 'arg1 -> 'arg2 -> ('output, 'error api_error) result Lwt.t
Sourceval 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, 'security) service -> 'arg -> ('output, 'error api_error) result Lwt.t
Sourceval handle_error : ('a -> string option) -> 'a api_error -> int * string option
Sourceval string_of_error : ('a -> string option) -> 'a api_error -> string