You can search for identifiers within the package.
in-package search v0.2.0
type t
t Represents a HTTP 1.1 request.
t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?version:Version.t -> ?headers:Headers.t -> ?body:Body.t -> Meth.t -> string -> t
val meth : t -> Meth.t
meth returns the HTTP method of this request.
meth
val path : t -> string
path returns the path component and query parameters of the request URI
path
val version : t -> Version.t
version returns the HTTP version number for the request.
version
val headers : t -> Headers.t
headers returns HTTP headers of this request.
headers
val body : t -> Body.t
body returns the body payload of this request.
body
val with_body : t -> Body.t -> t
with_body returns a new request where every value is the same as the input request but the body is replaced with the function input.
with_body
val with_headers : t -> Headers.t -> t
with_headers returns a new request where every value is the same as the input request but headers are replaced with the function input.
with_headers