package ezcurl
Friendly wrapper around OCurl
Install
Dune Dependency
Authors
Maintainers
Sources
v0.2.1.tar.gz
md5=2255e9953d8b1dba7601d300631ea023
sha512=c3429bff46980e684d93c7e6b69ea39dd5f56a6f27e5b811e9f8433632ef312d1ff123759fa69aca8508d54f5597dffdaff41f1ab9ef3cf0a83a9ece100d5763
doc/ezcurl.core/Ezcurl_core/Make/index.html
Module Ezcurl_core.Make
Source
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 ->
(response, Curl.curlCode * string) result io
General purpose HTTP call via cURL.
Source
val get :
?tries:int ->
?client:t ->
?config:Config.t ->
?range:string ->
?headers:(string * string) list ->
url:string ->
unit ->
(response, Curl.curlCode * string) result io
Shortcut 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 ->
(response, Curl.curlCode * string) result io
Shortcut 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 ->
(response, Curl.curlCode * string) result io
Shortcut for http ~meth:(POST params)
See http
for more info.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page