package ez_api
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Easy API library and tools
Install
dune-project
Dependency
Authors
Maintainers
Sources
2.1.0.tar.gz
md5=e1d03d141ef977fbd4521256c91431f1
sha512=51b0cc4e6afb0cd5ab55c0c40964946b79e0c2cc903b5d08c594292eec723a25e25463175d704c02fe559e2af5d95973514c248a603ad28ec0230c35ad2d6492
doc/ez_api.cohttp_base/EzCohttp_base/Make/argument-1-Client/index.html
Parameter Make.Client
In most cases you should use the more specific helper calls in the interface rather than invoke this function directly. See head, get and post for some examples.
include Cohttp.Generic.Client.S
with type 'a io = 'a Lwt.t
and type body = Cohttp_lwt__.Body.t
and type 'a with_context = ?ctx:ctx -> 'a
type 'a io = 'a Lwt.ttype 'a with_context = ?ctx:ctx -> 'atype body = Cohttp_lwt.Body.tval map_context : 'a with_context -> ('a -> 'b) -> 'b with_contextval call :
(?headers:Http.Header.t ->
?body:body ->
?chunked:bool ->
Http.Method.t ->
Uri.t ->
(Http.Response.t * body) io)
with_contextcall ?headers ?body ?chunked meth uri
val head : (?headers:Http.Header.t -> Uri.t -> Http.Response.t io) with_contextval get :
(?headers:Http.Header.t -> Uri.t -> (Http.Response.t * body) io) with_contextval delete :
(?body:body ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * body) io)
with_contextval post :
(?body:body ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * body) io)
with_contextval put :
(?body:body ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * body) io)
with_contextval patch :
(?body:body ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * body) io)
with_contextval set_cache : Cohttp_lwt.S.call -> unitProvide a function used to process requests. Please see call. The provided function is only used when no ctx argument is passed to the convenience functions below.
val post_form :
?ctx:ctx ->
?headers:Http.Header.t ->
params:(string * string list) list ->
Uri.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt.tval callv :
?ctx:ctx ->
Uri.t ->
(Http.Request.t * Cohttp_lwt.Body.t) Lwt_stream.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt_stream.t Lwt.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>