package cohttp-lwt

  1. Overview
  2. Docs

Module Cohttp_lwt.Make_clientSource

Parameters

module IO : IO
module Net : S.Net with module IO = IO

Signature

Sourcetype 'a io = 'a Lwt.t
Sourcetype !'a with_context = ?ctx:ctx -> 'a
Sourcetype body = Body.t
Sourceval map_context : 'a with_context -> ('a -> 'b) -> 'b with_context
Sourceval call : (?headers:Http.Header.t -> ?body:body -> ?chunked:bool -> Http.Method.t -> Uri.t -> (Http.Response.t * body) io) with_context
Sourceval delete : (?body:body -> ?chunked:bool -> ?headers:Http.Header.t -> Uri.t -> (Http.Response.t * body) io) with_context
Sourceval post : (?body:body -> ?chunked:bool -> ?headers:Http.Header.t -> Uri.t -> (Http.Response.t * body) io) with_context
Sourceval put : (?body:body -> ?chunked:bool -> ?headers:Http.Header.t -> Uri.t -> (Http.Response.t * body) io) with_context
Sourceval patch : (?body:body -> ?chunked:bool -> ?headers:Http.Header.t -> Uri.t -> (Http.Response.t * body) io) with_context
Sourceval set_cache : (?headers:Http.Header.t -> ?body:Body.t -> ?absolute_form:bool -> Http.Method.t -> Uri.t -> (Cohttp.Response.t * Body.t) Lwt.t) -> unit
Sourceval post_form : ?ctx:ctx -> ?headers:Http.Header.t -> params:(string * string list) list -> Uri.t -> (Http.Response.t * Body.t) Lwt.t
OCaml

Innovation. Community. Security.