You can search for identifiers within the package.
in-package search v0.2.0
type t
t Represents a HTTP 1.1 response.
t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?version:Version.t -> ?reason_phrase:string -> ?headers:Headers.t -> ?body:Body.t -> Status.t -> t
val version : t -> Version.t
version returns the HTTP version number for the response.
version
val status : t -> Status.t
status returns the Status code for this response.
status
val reason_phrase : t -> string
reason_phrase returns the status reason phrase for the response.
reason_phrase
val headers : t -> Headers.t
headers returns the HTTP headers for this response.
headers
val body : t -> Body.t
body returns the body payload of this response.
body
val with_headers : t -> Headers.t -> t