package dream-httpaf

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

Install

Dune Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha5.tar.gz
sha256=05bc7f6aff94893c151f3a5bcdee3328920c69b3763fac49ba27348dc7745901
md5=de6f6908ae899c9e85f2c751a0263932

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

Module Dream_h2.RequestSource

Sourcetype t = {
  1. meth : Httpaf.Method.t;
  2. target : string;
  3. scheme : string;
  4. headers : Headers.t;
}
Sourceval create : ?headers:Headers.t -> scheme:string -> Httpaf.Method.t -> string -> t
Sourceval body_length : t -> [> `Error of [> `Bad_request ] | `Fixed of int64 | `Unknown ]
Sourceval pp_hum : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.