diff --git a/ezcurl-lwt/Ezcurl_lwt/index.html b/ezcurl-lwt/Ezcurl_lwt/index.html index 759932c..59c80be 100644 --- a/ezcurl-lwt/Ezcurl_lwt/index.html +++ b/ezcurl-lwt/Ezcurl_lwt/index.html @@ -1,10 +1,10 @@ -
Ezcurl_lwtinclude module type of struct include Ezcurl_core endmodule Config = Ezcurl_core.ConfigConfiguration for the client.
A client, i.e. a cURL instance. The wrapping record has been present since NEXT_RELEASE
val make :
+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.
A client, i.e. a cURL instance. The wrapping record has been present since 0.3
val make :
?set_opts:(Curl.t -> unit) ->
?cookiejar_file:string ->
?enable_session_cookies:bool ->
unit ->
- tCreate a new client.
val delete : t -> unitDelete the client. It cannot be used anymore.
val with_client : ?set_opts:(Curl.t -> unit) -> (t -> 'a) -> 'aMake a temporary client, call the function with it, then cleanup.
Set no_signal default value for each new client instance. Default is true. See CURLOPT_NOSIGNAL.
module Cookies = Ezcurl_core.CookiesCookie handling.
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 'body response = 'body 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 : 'body;(*Response body, or ""
*)info : response_info;(*Information about the response
*)
}Response for a given request.
val pp_response_with :
+ tCreate a new client.
val delete : t -> unitDelete the client. It cannot be used anymore.
val with_client : ?set_opts:(Curl.t -> unit) -> (t -> 'a) -> 'aMake a temporary client, call the function with it, then cleanup.
Set no_signal default value for each new client instance. Default is true. See CURLOPT_NOSIGNAL.
module Cookies = Ezcurl_core.CookiesCookie handling.
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 'body response = 'body 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 : 'body;(*Response body, or ""
*)info : response_info;(*Information about the response
*)
}Response for a given request.
val pp_response_with :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a response ->
diff --git a/ezcurl/Ezcurl/index.html b/ezcurl/Ezcurl/index.html
index a0320cb..01f2417 100644
--- a/ezcurl/Ezcurl/index.html
+++ b/ezcurl/Ezcurl/index.html
@@ -1,10 +1,10 @@
-Ezcurl (ezcurl.Ezcurl) Module Ezcurl
Synchronous API
include module type of struct include Ezcurl_core end
module Config = Ezcurl_core.ConfigConfiguration for the client.
A client, i.e. a cURL instance. The wrapping record has been present since NEXT_RELEASE
val make :
+Ezcurl (ezcurl.Ezcurl) Module Ezcurl
Synchronous API
include module type of struct include Ezcurl_core end
module Config = Ezcurl_core.ConfigConfiguration for the client.
A client, i.e. a cURL instance. The wrapping record has been present since 0.3
val make :
?set_opts:(Curl.t -> unit) ->
?cookiejar_file:string ->
?enable_session_cookies:bool ->
unit ->
- tCreate a new client.
val delete : t -> unitDelete the client. It cannot be used anymore.
val with_client : ?set_opts:(Curl.t -> unit) -> (t -> 'a) -> 'aMake a temporary client, call the function with it, then cleanup.
Set no_signal default value for each new client instance. Default is true. See CURLOPT_NOSIGNAL.
module Cookies = Ezcurl_core.CookiesCookie handling.
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 'body response = 'body 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 : 'body;(*Response body, or ""
*)info : response_info;(*Information about the response
*)
}Response for a given request.
val pp_response_with :
+ tCreate a new client.
val delete : t -> unitDelete the client. It cannot be used anymore.
val with_client : ?set_opts:(Curl.t -> unit) -> (t -> 'a) -> 'aMake a temporary client, call the function with it, then cleanup.
Set no_signal default value for each new client instance. Default is true. See CURLOPT_NOSIGNAL.
module Cookies = Ezcurl_core.CookiesCookie handling.
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 'body response = 'body 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 : 'body;(*Response body, or ""
*)info : response_info;(*Information about the response
*)
}Response for a given request.
val pp_response_with :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a response ->
diff --git a/ezcurl/Ezcurl_core/Cookies/index.html b/ezcurl/Ezcurl_core/Cookies/index.html
index a0457ef..793419f 100644
--- a/ezcurl/Ezcurl_core/Cookies/index.html
+++ b/ezcurl/Ezcurl_core/Cookies/index.html
@@ -1,2 +1,2 @@
-Cookies (ezcurl.Ezcurl_core.Cookies) Module Ezcurl_core.Cookies
Cookie handling.
val flush_cookiejar : t -> unitIf cookiejar_file was provided in make, this flushes the current set of cookies to the provided file.
val reload_cookiejar : t -> unitIf cookiejar_file was provided in make, this reloads cookies from the provided file.
val get_cookies : t -> string listGet cookie list (in netscape format)
val set_cookies : t -> string list -> unitSet cookie list (in netscape format)
+Cookies (ezcurl.Ezcurl_core.Cookies) Module Ezcurl_core.Cookies
Cookie handling.
val flush_cookiejar : t -> unitIf cookiejar_file was provided in make, this flushes the current set of cookies to the provided file.
val reload_cookiejar : t -> unitIf cookiejar_file was provided in make, this reloads cookies from the provided file.
val get_cookies : t -> string listGet cookie list (in netscape format)
val set_cookies : t -> string list -> unitSet cookie list (in netscape format)
diff --git a/ezcurl/Ezcurl_core/Make/class-type-input_stream/index.html b/ezcurl/Ezcurl_core/Make/class-type-input_stream/index.html
index 69017bf..0b1a9aa 100644
--- a/ezcurl/Ezcurl_core/Make/class-type-input_stream/index.html
+++ b/ezcurl/Ezcurl_core/Make/class-type-input_stream/index.html
@@ -1,2 +1,2 @@
-input_stream (ezcurl.Ezcurl_core.Make.input_stream) Class type Make.input_stream
Push-based stream of bytes
+input_stream (ezcurl.Ezcurl_core.Make.input_stream) Class type Make.input_stream
Push-based stream of bytes
diff --git a/ezcurl/Ezcurl_core/Make/index.html b/ezcurl/Ezcurl_core/Make/index.html
index 548a5e5..95f7189 100644
--- a/ezcurl/Ezcurl_core/Make/index.html
+++ b/ezcurl/Ezcurl_core/Make/index.html
@@ -20,7 +20,7 @@
meth:meth ->
write_into:input_stream ->
unit ->
- (unit response, Curl.curlCode * string) Stdlib.result ioHTTP call via cURL, with a streaming response body. The body is given to write_into by chunks, then write_into#on_close () is called and the response is returned.
HTTP call via cURL, with a streaming response body. The body is given to write_into by chunks, then write_into#on_close () is called and the response is returned.
val get :
?tries:int ->
?client:t ->
?config:Config.t ->
diff --git a/ezcurl/Ezcurl_core/index.html b/ezcurl/Ezcurl_core/index.html
index 3f66e3e..9a54e53 100644
--- a/ezcurl/Ezcurl_core/index.html
+++ b/ezcurl/Ezcurl_core/index.html
@@ -1,10 +1,10 @@
-Ezcurl_core (ezcurl.Ezcurl_core) Module Ezcurl_core
Core signatures and implementation
module Config : sig ... endConfiguration for the client.
A client, i.e. a cURL instance. The wrapping record has been present since NEXT_RELEASE
val make :
+Ezcurl_core (ezcurl.Ezcurl_core) Module Ezcurl_core
Core signatures and implementation
module Config : sig ... endConfiguration for the client.
A client, i.e. a cURL instance. The wrapping record has been present since 0.3
val make :
?set_opts:(Curl.t -> unit) ->
?cookiejar_file:string ->
?enable_session_cookies:bool ->
unit ->
- tCreate a new client.
val delete : t -> unitDelete the client. It cannot be used anymore.
val with_client : ?set_opts:(Curl.t -> unit) -> (t -> 'a) -> 'aMake a temporary client, call the function with it, then cleanup.
Set no_signal default value for each new client instance. Default is true. See CURLOPT_NOSIGNAL.
module Cookies : sig ... endCookie handling.
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 'body response = {code : int;(*Response code. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
*)headers : (string * string) list;(*Response headers
*)body : 'body;(*Response body, or ""
*)info : response_info;(*Information about the response
*)
}Response for a given request.
val pp_response_with :
+ tCreate a new client.
val delete : t -> unitDelete the client. It cannot be used anymore.
val with_client : ?set_opts:(Curl.t -> unit) -> (t -> 'a) -> 'aMake a temporary client, call the function with it, then cleanup.
Set no_signal default value for each new client instance. Default is true. See CURLOPT_NOSIGNAL.
module Cookies : sig ... endCookie handling.
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 'body response = {code : int;(*Response code. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
*)headers : (string * string) list;(*Response headers
*)body : 'body;(*Response body, or ""
*)info : response_info;(*Information about the response
*)
}Response for a given request.
val pp_response_with :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a response ->
diff --git a/ezcurl/Ezcurl_core/module-type-S/class-type-input_stream/index.html b/ezcurl/Ezcurl_core/module-type-S/class-type-input_stream/index.html
index f35fc7d..88c0ca7 100644
--- a/ezcurl/Ezcurl_core/module-type-S/class-type-input_stream/index.html
+++ b/ezcurl/Ezcurl_core/module-type-S/class-type-input_stream/index.html
@@ -1,2 +1,2 @@
-input_stream (ezcurl.Ezcurl_core.S.input_stream) Class type S.input_stream
Push-based stream of bytes
+input_stream (ezcurl.Ezcurl_core.S.input_stream) Class type S.input_stream
Push-based stream of bytes
diff --git a/ezcurl/Ezcurl_core/module-type-S/index.html b/ezcurl/Ezcurl_core/module-type-S/index.html
index a998ebe..9929e09 100644
--- a/ezcurl/Ezcurl_core/module-type-S/index.html
+++ b/ezcurl/Ezcurl_core/module-type-S/index.html
@@ -20,7 +20,7 @@
meth:meth ->
write_into:input_stream ->
unit ->
- (unit response, Curl.curlCode * string) Stdlib.result ioHTTP call via cURL, with a streaming response body. The body is given to write_into by chunks, then write_into#on_close () is called and the response is returned.
HTTP call via cURL, with a streaming response body. The body is given to write_into by chunks, then write_into#on_close () is called and the response is returned.