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
v0.2.2.tar.gz
md5=75eafead85b6fe5ba2652a4eb580a9a9
sha512=dde8178f2c06adb047b8fcecc8c14bc2c5f9f51748c725c2917f7f5d3faeff385303123eb0213c55d7f2e29dad9e8c88da1b0460fa643cfba958fbe531c097fd
doc/ezcurl/Ezcurl/index.html
Module EzcurlSource
Synchronous API
include module type of struct include Ezcurl_core end
Core signatures and implementation
Make a temporary client, call the function with it, then cleanup
Source
type response = Ezcurl_core.response = {code : int;headers : (string * string) list;body : string;info : response_info;
}Source
type meth = Ezcurl_core.meth = | GET| POST of Curl.curlHTTPPost list| PUT| DELETE| HEAD| CONNECT| OPTIONS| TRACE| PATCH
The HTTP method to use
include sig ... end
Source
val 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) result ioSource
val 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) result ioSource
val 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) result ioSource
val 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) result io sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page