Module Ezcurl_lwt
include Ezcurl_core
module Config = Ezcurl_core.Configval make : ?set_opts:(t -> unit) -> unit -> tval delete : t -> unitval with_client : ?set_opts:(t -> unit) -> (t -> 'a) -> 'aMake a temporary client, call the function with it, then cleanup
val pp_response_info : Format.formatter -> response_info -> unitval string_of_response_info : response_info -> string
type response={code : int;headers : (string * string) list;body : string;info : response_info;}
type meth=|GET|POST of Curl.curlHTTPPost list|PUT|DELETE|HEAD|CONNECT|OPTIONS|TRACE|PATCHThe HTTP method to use
module type IO = sig ... end
module type S = sig ... end
module Make = Ezcurl_core.Makeinclude sig ... end
val http : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?range:string -> ?headers:(string * string) list -> url:string -> meth:Ezcurl_core.meth -> unit -> (Ezcurl_core.response, Curl.curlCode * string) Pervasives.result ioval get : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?range:string -> ?headers:(string * string) list -> url:string -> unit -> (Ezcurl_core.response, Curl.curlCode * string) Pervasives.result ioval put : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?headers:(string * string) list -> url:string -> unit -> (Ezcurl_core.response, Curl.curlCode * string) Pervasives.result ioval post : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?headers:(string * string) list -> params:Curl.curlHTTPPost list -> url:string -> unit -> (Ezcurl_core.response, Curl.curlCode * string) Pervasives.result io