package ezcurl
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Friendly wrapper around OCurl
Install
dune-project
Dependency
Authors
Maintainers
Sources
ezcurl-0.3.tbz
sha256=8e78446da57acc63a976b70693ff77e3ab73efd605a45dc892e21ceeb344bb0e
sha512=89ac02a6f42a857f8bb3e5399fd9e2482cf0637b4c8ce197a533f6aeb3e0915a50627260e825b68f13795780a8b4516c11b48e5b8776abf3712e0ff0202ed570
doc/ezcurl.core/Ezcurl_core/Make/index.html
Module Ezcurl_core.MakeSource
Parameters
Signature
Source
val 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 ->
(string response, Curl.curlCode * string) result ioGeneral purpose HTTP call via cURL.
Push-based stream of bytes
Source
val http_stream :
?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 ->
write_into:input_stream ->
unit ->
(unit response, Curl.curlCode * string) 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.
Source
val get :
?tries:int ->
?client:t ->
?config:Config.t ->
?range:string ->
?headers:(string * string) list ->
url:string ->
unit ->
(string response, Curl.curlCode * string) result ioShortcut for http ~meth:GET See http for more info.
Source
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 ->
(string response, Curl.curlCode * string) result ioShortcut for http ~meth:PUT See http for more info.
Source
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 ->
(string response, Curl.curlCode * string) result ioShortcut for http ~meth:(POST params) See http for more info.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page