Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Convenience functions for constructing requests and processing responses.
Please consult the CoHTTP documentation.
include Cohttp.Generic.Client.S
with type 'a io = 'a
with type 'a with_context = 'a
with type body = Cohttp.Body.t
type body = Cohttp.Body.t
val map_context : 'a with_context -> ('a -> 'b) -> 'b with_context
val call :
(?headers:Http.Header.t ->
?body:body ->
?chunked:bool ->
Http.Method.t ->
Uri.t ->
(Http.Response.t * body) io)
with_context
call ?headers ?body ?chunked meth uri
val head : (?headers:Http.Header.t -> Uri.t -> Http.Response.t io) with_context
val get :
(?headers:Http.Header.t -> Uri.t -> (Http.Response.t * body) io) with_context
val delete :
(?body:body ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * body) io)
with_context
val post :
(?body:body ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * body) io)
with_context
val put :
(?body:body ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * body) io)
with_context
val patch :
(?body:body ->
?chunked:bool ->
?headers:Http.Header.t ->
Uri.t ->
(Http.Response.t * body) io)
with_context