Module EzCurl

val make : ?⁠meth:string -> ?⁠headers:(string * string) list -> ?⁠content:string -> ?⁠content_type:string -> ?⁠msg:string -> string -> ((string, int * string option) Stdlib.result -> unit) -> unit
module Interface : sig ... end
include sig ... end
val get0 : ?⁠post:bool -> ?⁠headers:(string * string) list -> ?⁠params:(EzAPI.Param.t * EzAPI.param_value) list -> ?⁠msg:string -> ?⁠error:EzReq_S.error_handler -> EzAPI.base_url -> ('output'error[< `Basic of EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc | `Bearer of EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc | `Cookie of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Header of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Nosecurity of EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited | `Query of EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey ]) EzAPI.service0 -> (('output'error) Stdlib.result -> unit) -> unit
val get1 : ?⁠post:bool -> ?⁠headers:(string * string) list -> ?⁠params:(EzAPI.Param.t * EzAPI.param_value) list -> ?⁠msg:string -> ?⁠error:EzReq_S.error_handler -> EzAPI.base_url -> ('arg'output'error[< `Basic of EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc | `Bearer of EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc | `Cookie of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Header of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Nosecurity of EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited | `Query of EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey ]) EzAPI.service1 -> 'arg -> (('output'error) Stdlib.result -> unit) -> unit
val get2 : ?⁠post:bool -> ?⁠headers:(string * string) list -> ?⁠params:(EzAPI.Param.t * EzAPI.param_value) list -> ?⁠msg:string -> ?⁠error:EzReq_S.error_handler -> EzAPI.base_url -> ('arg1'arg2'output'error[< `Basic of EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc | `Bearer of EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc | `Cookie of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Header of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Nosecurity of EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited | `Query of EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey ]) EzAPI.service2 -> 'arg1 -> 'arg2 -> (('output'error) Stdlib.result -> unit) -> unit
val post0 : ?⁠headers:(string * string) list -> ?⁠params:(EzAPI.Param.t * EzAPI.param_value) list -> ?⁠msg:string -> ?⁠url_encode:bool -> ?⁠error:EzReq_S.error_handler -> input:'input -> EzAPI.base_url -> ('input'output'error[< `Basic of EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc | `Bearer of EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc | `Cookie of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Header of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Nosecurity of EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited | `Query of EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey ]) EzAPI.post_service0 -> (('output'error) Stdlib.result -> unit) -> unit
val post1 : ?⁠headers:(string * string) list -> ?⁠params:(EzAPI.Param.t * EzAPI.param_value) list -> ?⁠msg:string -> ?⁠url_encode:bool -> ?⁠error:EzReq_S.error_handler -> input:'input -> EzAPI.base_url -> ('arg'input'output'error[< `Basic of EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc | `Bearer of EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc | `Cookie of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Header of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Nosecurity of EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited | `Query of EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey ]) EzAPI.post_service1 -> 'arg -> (('output'error) Stdlib.result -> unit) -> unit
val post2 : ?⁠headers:(string * string) list -> ?⁠params:(EzAPI.Param.t * EzAPI.param_value) list -> ?⁠msg:string -> ?⁠url_encode:bool -> ?⁠error:EzReq_S.error_handler -> input:'input -> EzAPI.base_url -> ('arg1'arg2'input'output'error[< `Basic of EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc & EzAPI.Security.basic_desc | `Bearer of EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc & EzAPI.Security.bearer_desc | `Cookie of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Header of string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey & string EzAPI.Security.apikey | `Nosecurity of EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited & EzAPI.Security.uninhabited | `Query of EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey & EzAPI.Param.t EzAPI.Security.apikey ]) EzAPI.post_service2 -> 'arg1 -> 'arg2 -> (('output'error) Stdlib.result -> unit) -> unit
val get : ?⁠meth:EzAPI.Meth.all -> ?⁠headers:(string * string) list -> ?⁠msg:string -> ?⁠error:EzReq_S.error_handler -> EzAPI.url -> (string -> unit) -> unit
val post : ?⁠meth:EzAPI.Meth.all -> ?⁠content_type:string -> ?⁠content:string -> ?⁠headers:(string * string) list -> ?⁠msg:string -> ?⁠error:EzReq_S.error_handler -> EzAPI.url -> (string -> unit) -> unit
module Legacy : sig ... end
val init : unit -> unit
val add_hook : (unit -> unit) -> unit
val add_reply_hook : (unit -> unit) -> unit