package ezcurl
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Friendly wrapper around OCurl
Install
dune-project
Dependency
Authors
Maintainers
Sources
ezcurl-0.4.tbz
sha256=25575d5f0e9d5712ae115f002b2d783a13780653b883846ba8141022d809afa3
sha512=1dee9be6d53d15243977bdb1d2fdc5933735617b0d67ed2a41857e83815c02f08f94eadab6a1fc0a3a693bab7c0ed89ec1fbd186b6b810b0463d029a100e7dec
doc/ezcurl.core/Ezcurl_core/index.html
Module Ezcurl_coreSource
Core signatures and implementation
A client, i.e. a cURL instance. The wrapping record has been present since 0.3
Source
val make :
?set_opts:(Curl.t -> unit) ->
?cookiejar_file:string ->
?enable_session_cookies:bool ->
unit ->
tCreate a new client.
Make 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.
Metadata about a response from the server.
Source
type '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.
Source
val pp_response_with :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a response ->
unitSource
type meth = | GET| POST of Curl.curlHTTPPost list| PUT| DELETE| HEAD| CONNECT| OPTIONS| TRACE| PATCH| QUERY(*new QUERY verb,
*)| HTTP_CUSTOM of string(*Custom HTTP method (e.g., for WebDAV)
*)
The HTTP method to use
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>