dream-httpaf.dream-httpaf_
Dream_httpaf_.Response
dream-httpaf
dream-httpaf.dream-gluten
dream-httpaf.dream-gluten-lwt
dream-httpaf.dream-gluten-lwt-unix
dream-httpaf.dream-h2
dream-httpaf.dream-h2-lwt
dream-httpaf.dream-h2-lwt-unix
dream-httpaf.dream-hpack
dream-httpaf.dream-httpaf_-lwt
dream-httpaf.dream-httpaf_-lwt-unix
dream-httpaf.dream-websocketaf
dream-httpaf.dream-websocketaf-lwt
dream-httpaf.dream-websocketaf-lwt-unix
type t = {
version : Version.t;
status : Status.t;
reason : string;
headers : Headers.t;
}
val create : ?reason:string -> ?version:Version.t -> ?headers:Headers.t -> Status.t -> t
val persistent_connection : ?proxy:bool -> t -> bool
val proxy_error : [> `Error of [> `Bad_gateway ] ]
val server_error : [> `Error of [> `Internal_server_error ] ]
module Body_length : sig ... end
val body_length : ?proxy:bool -> request_method:[> `CONNECT | `HEAD ] -> t -> Body_length.t
val pp_hum : Format.formatter -> t -> unit