diff --git a/0.2/ezcurl-lwt/Ezcurl_lwt/index.html b/0.2/ezcurl-lwt/Ezcurl_lwt/index.html index baf470f..44d07fa 100644 --- a/0.2/ezcurl-lwt/Ezcurl_lwt/index.html +++ b/0.2/ezcurl-lwt/Ezcurl_lwt/index.html @@ -1,5 +1,5 @@ -
Ezcurl_lwtinclude module type of struct include Ezcurl_core endmodule Config = Ezcurl_core.Configval delete : t -> unitMake a temporary client, call the function with it, then cleanup
val pp_response_info : Stdlib.Format.formatter -> response_info -> unitval string_of_response_info : response_info -> stringtype response = Ezcurl_core.response = {code : int;headers : (string * string) list;body : string;info : response_info;}val pp_response : Stdlib.Format.formatter -> response -> unitval string_of_response : response -> stringtype meth = Ezcurl_core.meth = The HTTP method to use
val pp_meth : Stdlib.Format.formatter -> meth -> unitval string_of_meth : meth -> stringmodule type IO = Ezcurl_core.IOmodule type S = Ezcurl_core.Smodule Make = Ezcurl_core.Makeinclude sig ... endval http :
+Ezcurl_lwt (ezcurl-lwt.Ezcurl_lwt) Module Ezcurl_lwt
include module type of struct include Ezcurl_core end
module Config = Ezcurl_core.ConfigConfiguration 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 = Ezcurl_core.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 = Ezcurl_core.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 -> stringtype meth = Ezcurl_core.meth = The HTTP method to use
val pp_meth : Stdlib.Format.formatter -> meth -> unitval string_of_meth : meth -> stringmodule type IO = Ezcurl_core.IOmodule type S = Ezcurl_core.Smodule Make = Ezcurl_core.Makeinclude sig ... end
val http :
?tries:int ->
?client:Ezcurl_core.t ->
?config:Ezcurl_core.Config.t ->
diff --git a/0.2/ezcurl/Ezcurl/index.html b/0.2/ezcurl/Ezcurl/index.html
index ebc73b6..78fce09 100644
--- a/0.2/ezcurl/Ezcurl/index.html
+++ b/0.2/ezcurl/Ezcurl/index.html
@@ -1,5 +1,5 @@
-Ezcurl (ezcurl.Ezcurl) Module Ezcurl
Synchronous API
include module type of struct include Ezcurl_core end
Core signatures and implementation
module Config = Ezcurl_core.Configval delete : t -> unitMake a temporary client, call the function with it, then cleanup
val pp_response_info : Stdlib.Format.formatter -> response_info -> unitval string_of_response_info : response_info -> stringtype response = Ezcurl_core.response = {code : int;headers : (string * string) list;body : string;info : response_info;
}val pp_response : Stdlib.Format.formatter -> response -> unitval string_of_response : response -> stringtype meth = Ezcurl_core.meth = The HTTP method to use
val pp_meth : Stdlib.Format.formatter -> meth -> unitval string_of_meth : meth -> stringmodule type IO = Ezcurl_core.IOmodule type S = Ezcurl_core.Smodule Make = Ezcurl_core.Makeinclude sig ... end
val http :
+Ezcurl (ezcurl.Ezcurl) Module Ezcurl
Synchronous API
include module type of struct include Ezcurl_core end
module Config = Ezcurl_core.ConfigConfiguration 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 = Ezcurl_core.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 = Ezcurl_core.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 -> stringtype meth = Ezcurl_core.meth = The HTTP method to use
val pp_meth : Stdlib.Format.formatter -> meth -> unitval string_of_meth : meth -> stringmodule type IO = Ezcurl_core.IOmodule type S = Ezcurl_core.Smodule Make = Ezcurl_core.Makeinclude sig ... end
val http :
?tries:int ->
?client:Ezcurl_core.t ->
?config:Ezcurl_core.Config.t ->
diff --git a/0.2/ezcurl/Ezcurl_core/Config/index.html b/0.2/ezcurl/Ezcurl_core/Config/index.html
index ff6a56b..d37cd9f 100644
--- a/0.2/ezcurl/Ezcurl_core/Config/index.html
+++ b/0.2/ezcurl/Ezcurl_core/Config/index.html
@@ -1,2 +1,2 @@
-Config (ezcurl.Ezcurl_core.Config) Module Ezcurl_core.Config
\ No newline at end of file
+Config (ezcurl.Ezcurl_core.Config) Module Ezcurl_core.Config
Configuration for the client.
\ No newline at end of file
diff --git a/0.2/ezcurl/Ezcurl_core/index.html b/0.2/ezcurl/Ezcurl_core/index.html
index b357053..f6256fa 100644
--- a/0.2/ezcurl/Ezcurl_core/index.html
+++ b/0.2/ezcurl/Ezcurl_core/index.html
@@ -1,2 +1,2 @@
-Ezcurl_core (ezcurl.Ezcurl_core) Module Ezcurl_core
Core signatures and implementation
module Config : sig ... endval delete : t -> unitMake a temporary client, call the function with it, then cleanup
val pp_response_info : Stdlib.Format.formatter -> response_info -> unitval string_of_response_info : response_info -> stringval 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
\ No newline at end of file
+Ezcurl_core (ezcurl.Ezcurl_core) Module Ezcurl_core
Core 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
\ No newline at end of file