Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Response
A server-generated message to a Request.t
.
create ?headers status
creates an HTTP response with the given parameters. Unlike the Response
type in http/af, h2 does not define a way for responses to carry reason phrases or protocol version.
See RFC7540§8.1.2.4 for more details.
val pp_hum : Stdlib.Format.formatter -> t -> unit