Cohttp_lwt.Make_clienttype ctx = Connection.Make(Net).Net.ctxtype 'a io = 'a Lwt.ttype !'a with_context = ?ctx:ctx -> 'atype body = 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_contextval 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 :
(?headers:Http.Header.t ->
?body:Body.t ->
?absolute_form:bool ->
Http.Method.t ->
Uri.t ->
(Cohttp.Response.t * Body.t) Lwt.t) ->
unitval post_form :
?ctx:ctx ->
?headers:Http.Header.t ->
params:(string * string list) list ->
Uri.t ->
(Http.Response.t * Body.t) Lwt.tval callv :
?ctx:ctx ->
Uri.t ->
(Http.Request.t * Body.t) Lwt_stream.t ->
(Http.Response.t * Body.t) Lwt_stream.t Lwt.t