Module Dream_h2.ResponseSource

Sourcetype t = {
  1. status : Status.t;
  2. headers : Headers.t;
}
Sourceval create : ?headers:Headers.t -> Status.t -> t
Sourceval body_length : request_method:[< Httpaf.Method.standard ] -> t -> [> `Error of [> `Bad_request ] | `Fixed of int64 | `Unknown ]
Sourceval pp_hum : Format.formatter -> t -> unit