Ezcurl_coreCore signatures and implementation
module Config : sig ... endConfiguration for the client.
val delete : t -> unitDelete the client. It cannot be used anymore.
Make a temporary client, call the function with it, then cleanup.
type response_info = {ri_response_time : float;Total time (in seconds) for the request/response pair. See Curl.get_totaltime.
ri_redirect_count : int;Number of redirects cURL followed. See Curl.get_redirectcount.
}Metadata about a response from the server.
val pp_response_info : Stdlib.Format.formatter -> response_info -> unitval string_of_response_info : response_info -> stringtype response = {code : int;Response code. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
*)headers : (string * string) list;Response headers
*)body : string;Response body, or ""
info : response_info;Information about the response
*)}Response for a given request.
val pp_response : Stdlib.Format.formatter -> response -> unitval string_of_response : response -> stringThe HTTP method to use
val pp_meth : Stdlib.Format.formatter -> meth -> unitval string_of_meth : meth -> stringmodule type IO = sig ... endmodule type S = sig ... end