package dream-httpaf

  1. Overview
  2. Docs
Internal: shared http/af stack for Dream (server) and Hyper (client)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha6.tar.gz
sha256=8d3b6344c0e175aca628b3d5bb8ee58265e8c1074fc2d40d63f136fef83daf90

doc/dream-httpaf.dream-h2/Dream_h2/Response/index.html

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
OCaml

Innovation. Community. Security.