package dream-httpaf

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. version : Version.t;
  2. status : Status.t;
  3. reason : string;
  4. 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
OCaml

Innovation. Community. Security.