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-alpha6.tar.gz
sha256=8d3b6344c0e175aca628b3d5bb8ee58265e8c1074fc2d40d63f136fef83daf90

doc/dream-httpaf.dream-httpaf_/Dream_httpaf_/Request/index.html

Module Dream_httpaf_.RequestSource

Sourcetype t = {
  1. meth : Method.t;
  2. target : string;
  3. version : Version.t;
  4. headers : Headers.t;
}
Sourceval create : ?version:Version.t -> ?headers:Headers.t -> Method.t -> string -> t
Sourceval bad_request : [> `Error of [> `Bad_request ] ]
Sourcemodule Body_length : sig ... end
Sourceval body_length : t -> Body_length.t
Sourceval persistent_connection : ?proxy:bool -> t -> bool
Sourceval pp_hum : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.