diff --git a/dev/ezcurl-lwt/Ezcurl_lwt/.dune-keep b/dev/ezcurl-lwt/Ezcurl_lwt/.dummy similarity index 100% rename from dev/ezcurl-lwt/Ezcurl_lwt/.dune-keep rename to dev/ezcurl-lwt/Ezcurl_lwt/.dummy diff --git a/dev/ezcurl-lwt/Ezcurl_lwt/index.html b/dev/ezcurl-lwt/Ezcurl_lwt/index.html index 80c2f03..e2062f5 100644 --- a/dev/ezcurl-lwt/Ezcurl_lwt/index.html +++ b/dev/ezcurl-lwt/Ezcurl_lwt/index.html @@ -1,11 +1,37 @@ -
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
type response_info = Ezcurl_core.response_info = {ri_response_time : float; |
ri_redirect_count : int; |
}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 = | GET |
| POST of Curl.curlHTTPPost list |
| PUT |
| DELETE |
| HEAD |
| CONNECT |
| OPTIONS |
| TRACE |
| PATCH |
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.Makeval http : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?range:string ->
-?content:[ `String of string | `Write of bytes -> int -> int ] ->
-?headers:(string * string) list -> url:string -> meth:Ezcurl_core.meth ->
-unit -> (Ezcurl_core.response, Curl.curlCode * string) Stdlib.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) Stdlib.result ioval put : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?headers:(string * string) list ->
-url:string -> content:[ `String of string | `Write of bytes -> int -> int ] ->
-unit -> (Ezcurl_core.response, Curl.curlCode * string) Stdlib.result ioval post : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?headers:(string * string) list ->
-?content:[ `String of string | `Write of bytes -> int -> int ] ->
-params:Curl.curlHTTPPost list -> url:string -> unit -> (Ezcurl_core.response, Curl.curlCode * string) Stdlib.result ioEzcurl_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 :
+ ?tries:int ->
+ ?client:Ezcurl_core.t ->
+ ?config:Ezcurl_core.Config.t ->
+ ?range:string ->
+ ?content:[ `String of string | `Write of bytes -> int -> int ] ->
+ ?headers:(string * string) list ->
+ url:string ->
+ meth:Ezcurl_core.meth ->
+ unit ->
+ (Ezcurl_core.response, Curl.curlCode * string) Stdlib.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) Stdlib.result ioval put :
+ ?tries:int ->
+ ?client:Ezcurl_core.t ->
+ ?config:Ezcurl_core.Config.t ->
+ ?headers:(string * string) list ->
+ url:string ->
+ content:[ `String of string | `Write of bytes -> int -> int ] ->
+ unit ->
+ (Ezcurl_core.response, Curl.curlCode * string) Stdlib.result ioval post :
+ ?tries:int ->
+ ?client:Ezcurl_core.t ->
+ ?config:Ezcurl_core.Config.t ->
+ ?headers:(string * string) list ->
+ ?content:[ `String of string | `Write of bytes -> int -> int ] ->
+ params:Curl.curlHTTPPost list ->
+ url:string ->
+ unit ->
+ (Ezcurl_core.response, Curl.curlCode * string) Stdlib.result ioThe entry point of this library is the module: Ezcurl_lwt.
The entry point of this library is the module: Ezcurl_lwt.
Ezcurlinclude 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
type response_info = Ezcurl_core.response_info = {ri_response_time : float; |
ri_redirect_count : int; |
}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 = | GET |
| POST of Curl.curlHTTPPost list |
| PUT |
| DELETE |
| HEAD |
| CONNECT |
| OPTIONS |
| TRACE |
| PATCH |
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.Makeval http : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?range:string ->
-?content:[ `String of string | `Write of bytes -> int -> int ] ->
-?headers:(string * string) list -> url:string -> meth:Ezcurl_core.meth ->
-unit -> (Ezcurl_core.response, Curl.curlCode * string) Stdlib.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) Stdlib.result ioval put : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?headers:(string * string) list ->
-url:string -> content:[ `String of string | `Write of bytes -> int -> int ] ->
-unit -> (Ezcurl_core.response, Curl.curlCode * string) Stdlib.result ioval post : ?tries:int -> ?client:Ezcurl_core.t -> ?config:Ezcurl_core.Config.t -> ?headers:(string * string) list ->
-?content:[ `String of string | `Write of bytes -> int -> int ] ->
-params:Curl.curlHTTPPost list -> url:string -> unit -> (Ezcurl_core.response, Curl.curlCode * string) Stdlib.result ioEzcurlinclude 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 :
+ ?tries:int ->
+ ?client:Ezcurl_core.t ->
+ ?config:Ezcurl_core.Config.t ->
+ ?range:string ->
+ ?content:[ `String of string | `Write of bytes -> int -> int ] ->
+ ?headers:(string * string) list ->
+ url:string ->
+ meth:Ezcurl_core.meth ->
+ unit ->
+ (Ezcurl_core.response, Curl.curlCode * string) Stdlib.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) Stdlib.result ioval put :
+ ?tries:int ->
+ ?client:Ezcurl_core.t ->
+ ?config:Ezcurl_core.Config.t ->
+ ?headers:(string * string) list ->
+ url:string ->
+ content:[ `String of string | `Write of bytes -> int -> int ] ->
+ unit ->
+ (Ezcurl_core.response, Curl.curlCode * string) Stdlib.result ioval post :
+ ?tries:int ->
+ ?client:Ezcurl_core.t ->
+ ?config:Ezcurl_core.Config.t ->
+ ?headers:(string * string) list ->
+ ?content:[ `String of string | `Write of bytes -> int -> int ] ->
+ params:Curl.curlHTTPPost list ->
+ url:string ->
+ unit ->
+ (Ezcurl_core.response, Curl.curlCode * string) Stdlib.result ioEzcurl_core.ConfigEzcurl_core.ConfigMake.1-IOMake.IOEzcurl_core.Maketype 'a io = 'a IO.tval http : ?tries:int -> ?client:t -> ?config:Config.t -> ?range:string ->
-?content:[ `String of string | `Write of bytes -> int -> int ] ->
-?headers:(string * string) list -> url:string -> meth:meth ->
-unit -> (response, Curl.curlCode * string) Stdlib.result ioGeneral purpose HTTP call via cURL.
val get : ?tries:int -> ?client:t -> ?config:Config.t -> ?range:string ->
-?headers:(string * string) list -> url:string ->
-unit -> (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:GET See http for more info.
val put : ?tries:int -> ?client:t -> ?config:Config.t -> ?headers:(string * string) list ->
-url:string -> content:[ `String of string | `Write of bytes -> int -> int ] ->
-unit -> (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:PUT See http for more info.
val post : ?tries:int -> ?client:t -> ?config:Config.t -> ?headers:(string * string) list ->
-?content:[ `String of string | `Write of bytes -> int -> int ] ->
-params:Curl.curlHTTPPost list -> url:string -> unit -> (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:(POST params) See http for more info.
Ezcurl_core.Maketype 'a io = 'a IO.tval http :
+ ?tries:int ->
+ ?client:t ->
+ ?config:Config.t ->
+ ?range:string ->
+ ?content:[ `String of string | `Write of bytes -> int -> int ] ->
+ ?headers:(string * string) list ->
+ url:string ->
+ meth:meth ->
+ unit ->
+ (response, Curl.curlCode * string) Stdlib.result ioGeneral purpose HTTP call via cURL.
val get :
+ ?tries:int ->
+ ?client:t ->
+ ?config:Config.t ->
+ ?range:string ->
+ ?headers:(string * string) list ->
+ url:string ->
+ unit ->
+ (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:GET See http for more info.
val put :
+ ?tries:int ->
+ ?client:t ->
+ ?config:Config.t ->
+ ?headers:(string * string) list ->
+ url:string ->
+ content:[ `String of string | `Write of bytes -> int -> int ] ->
+ unit ->
+ (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:PUT See http for more info.
val post :
+ ?tries:int ->
+ ?client:t ->
+ ?config:Config.t ->
+ ?headers:(string * string) list ->
+ ?content:[ `String of string | `Write of bytes -> int -> int ] ->
+ params:Curl.curlHTTPPost list ->
+ url:string ->
+ unit ->
+ (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:(POST params) See http for more info.
Ezcurl_coremodule 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 -> stringtype meth = | GET |
| POST of Curl.curlHTTPPost list |
| PUT |
| DELETE |
| HEAD |
| CONNECT |
| OPTIONS |
| TRACE |
| PATCH |
The HTTP method to use
val pp_meth : Stdlib.Format.formatter -> meth -> unitval string_of_meth : meth -> stringmodule type IO = sig ... endmodule type S = sig ... endEzcurl_coremodule 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 ... endEzcurl_core.IOval return : 'a -> 'a tval fail : exn -> 'a tval perform : Curl.t -> Curl.curlCode tEzcurl_core.IOval return : 'a -> 'a tval fail : exn -> 'a tval perform : Curl.t -> Curl.curlCode tEzcurl_core.Sval http : ?tries:int -> ?client:t -> ?config:Config.t -> ?range:string ->
-?content:[ `String of string | `Write of bytes -> int -> int ] ->
-?headers:(string * string) list -> url:string -> meth:meth ->
-unit -> (response, Curl.curlCode * string) Stdlib.result ioGeneral purpose HTTP call via cURL.
val get : ?tries:int -> ?client:t -> ?config:Config.t -> ?range:string ->
-?headers:(string * string) list -> url:string ->
-unit -> (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:GET See http for more info.
val put : ?tries:int -> ?client:t -> ?config:Config.t -> ?headers:(string * string) list ->
-url:string -> content:[ `String of string | `Write of bytes -> int -> int ] ->
-unit -> (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:PUT See http for more info.
val post : ?tries:int -> ?client:t -> ?config:Config.t -> ?headers:(string * string) list ->
-?content:[ `String of string | `Write of bytes -> int -> int ] ->
-params:Curl.curlHTTPPost list -> url:string -> unit -> (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:(POST params) See http for more info.
Ezcurl_core.Sval http :
+ ?tries:int ->
+ ?client:t ->
+ ?config:Config.t ->
+ ?range:string ->
+ ?content:[ `String of string | `Write of bytes -> int -> int ] ->
+ ?headers:(string * string) list ->
+ url:string ->
+ meth:meth ->
+ unit ->
+ (response, Curl.curlCode * string) Stdlib.result ioGeneral purpose HTTP call via cURL.
val get :
+ ?tries:int ->
+ ?client:t ->
+ ?config:Config.t ->
+ ?range:string ->
+ ?headers:(string * string) list ->
+ url:string ->
+ unit ->
+ (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:GET See http for more info.
val put :
+ ?tries:int ->
+ ?client:t ->
+ ?config:Config.t ->
+ ?headers:(string * string) list ->
+ url:string ->
+ content:[ `String of string | `Write of bytes -> int -> int ] ->
+ unit ->
+ (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:PUT See http for more info.
val post :
+ ?tries:int ->
+ ?client:t ->
+ ?config:Config.t ->
+ ?headers:(string * string) list ->
+ ?content:[ `String of string | `Write of bytes -> int -> int ] ->
+ params:Curl.curlHTTPPost list ->
+ url:string ->
+ unit ->
+ (response, Curl.curlCode * string) Stdlib.result ioShortcut for http ~meth:(POST params) See http for more info.
The entry point of this library is the module: Ezcurl.
The entry point of this library is the module: Ezcurl_core.
The entry point of this library is the module: Ezcurl.
The entry point of this library is the module: Ezcurl_core.