package dream-httpaf

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Dream_httpaf_.ResponseSource

Sourcetype t = {
  1. version : Version.t;
  2. status : Status.t;
  3. reason : string;
  4. headers : Headers.t;
}
Sourceval create : ?reason:string -> ?version:Version.t -> ?headers:Headers.t -> Status.t -> t
Sourceval persistent_connection : ?proxy:bool -> t -> bool
Sourceval proxy_error : [> `Error of [> `Bad_gateway ] ]
Sourceval server_error : [> `Error of [> `Internal_server_error ] ]
Sourcemodule Body_length : sig ... end
Sourceval body_length : ?proxy:bool -> request_method:[> `CONNECT | `HEAD ] -> t -> Body_length.t
Sourceval pp_hum : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.