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_/Response/index.html

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.