package httpaf_caged

  1. Overview
  2. Docs
A higher-level httpaf-async server interface

Install

Dune Dependency

Authors

Maintainers

Sources

httpaf_caged-1.0.1.tbz
sha256=f3f36a664cebaa727325ef20c3ec10653fd36a48717f54c587e3e4149c853f3e
sha512=7a7adeaac67c75ccc188657999a72764b1fc32221407709a0b1d539ba7e82dba744f7c40e47510a5eee8d5754907836b7385f4399772128e6add2a356e388dba

doc/httpaf_caged/Httpaf_caged/Response/index.html

Module Httpaf_caged.Response

type t = {
  1. version : Version.t;
  2. status : Status.t;
  3. reason : string;
  4. headers : Headers.t;
}
val create : ?reason:string -> ?version:Version.t -> ?headers:Headers.t -> Status.t -> t
val body_length : ?proxy:bool -> request_method:Method.standard -> t -> [ `Chunked | `Close_delimited | `Error of [ `Bad_gateway | `Internal_server_error ] | `Fixed of Int64.t ]
val persistent_connection : ?proxy:bool -> t -> bool
val pp_hum : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.