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.3.tbz
sha256=8e78446da57acc63a976b70693ff77e3ab73efd605a45dc892e21ceeb344bb0e
sha512=89ac02a6f42a857f8bb3e5399fd9e2482cf0637b4c8ce197a533f6aeb3e0915a50627260e825b68f13795780a8b4516c11b48e5b8776abf3712e0ff0202ed570
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
The HTTP method to use
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>