package ez_api

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

Module EzReq_lwtSource

include EzReq_lwt_S.S
include EzReq_lwt_S.RAW
Sourceval get0 : ?post:bool -> ?headers:(string * string) list -> ?params:(EzAPI.Param.t * EzAPI.param_value) list -> ?msg:string -> EzAPI.base_url -> ('output, 'error, 'security) EzAPI.service0 -> ('output, 'error EzReq_lwt_S.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) EzAPI.service1 -> 'arg -> ('output, 'error EzReq_lwt_S.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) EzAPI.service2 -> 'arg1 -> 'arg2 -> ('output, 'error EzReq_lwt_S.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) EzAPI.post_service0 -> ('output, 'error EzReq_lwt_S.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) EzAPI.post_service1 -> 'arg -> ('output, 'error EzReq_lwt_S.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) EzAPI.post_service2 -> 'arg1 -> 'arg2 -> ('output, 'error EzReq_lwt_S.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) EzAPI.service -> 'arg -> ('output, 'error EzReq_lwt_S.api_error) result Lwt.t
Sourceval handle_error : ('a -> string option) -> 'a EzReq_lwt_S.api_error -> int * string option
Sourceval string_of_error : ('a -> string option) -> 'a EzReq_lwt_S.api_error -> string
Sourceval init : unit -> unit
Sourceval get : ?meth:EzAPI.Meth.all -> ?headers:(string * string) list -> ?msg:string -> EzAPI.url -> (string, int * string option) result Lwt.t
Sourceval post : ?meth:EzAPI.Meth.all -> ?content_type:string -> ?content:string -> ?headers:(string * string) list -> ?msg:string -> EzAPI.url -> (string, int * string option) result Lwt.t
Sourceval add_hook : (unit -> unit) -> unit
Sourceval add_reply_hook : (unit -> unit) -> unit
OCaml

Innovation. Community. Security.