sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
module P : Mirage_clock.PCLOCK
module R : Resolver_mirage.S
module S : Conduit_mirage.S
module Connection : Cohttp_lwt.S.Connection
include Cohttp_lwt.S.Client with type ctx = Connection.Net.ctx
type ctx = Connection.Net.ctx
val set_cache : Cohttp_lwt.S.call -> unit
Provide 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 call :
?ctx:ctx ->
?headers:Http.Header.t ->
?body:Cohttp_lwt.Body.t ->
?chunked:bool ->
Http.Method.t ->
Uri.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt.t
call ?ctx ?headers ?body ?chunked meth uri
val head : ?ctx:ctx -> ?headers:Http.Header.t -> Uri.t -> Http.Response.t Lwt.t
val get :
?ctx:ctx ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt.t
val delete :
?ctx:ctx ->
?body:Cohttp_lwt.Body.t ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt.t
val post :
?ctx:ctx ->
?body:Cohttp_lwt.Body.t ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt.t
val put :
?ctx:ctx ->
?body:Cohttp_lwt.Body.t ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt.t
val patch :
?ctx:ctx ->
?body:Cohttp_lwt.Body.t ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt.t
val post_form :
?ctx:ctx ->
?headers:Http.Header.t ->
params:(string * string list) list ->
Uri.t ->
(Http.Response.t * Cohttp_lwt.Body.t) Lwt.t
val 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
val ctx : ?authenticator:X509.Authenticator.t -> R.t -> S.t -> ctx
val with_authenticator : X509.Authenticator.t -> ctx -> ctx