package cohttp-async

  1. Overview
  2. Docs
include Cohttp.S.Response with type t = Cohttp.Response.t
type t = Cohttp.Response.t = {
  1. encoding : Cohttp__.Transfer.encoding;
  2. headers : Cohttp__.Header.t;
  3. version : Cohttp__.Code.version;
  4. status : Cohttp__.Code.status_code;
  5. flush : bool;
}
val flush : t -> bool
val status : t -> Cohttp__.Code.status_code
val version : t -> Cohttp__.Code.version
val headers : t -> Cohttp__.Header.t
val encoding : t -> Cohttp__.Transfer.encoding
module Fields : sig ... end
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val make : ?version:Cohttp__.Code.version -> ?status:Cohttp__.Code.status_code -> ?flush:bool -> ?encoding:Cohttp__.Transfer.encoding -> ?headers:Cohttp__.Header.t -> unit -> t
OCaml

Innovation. Community. Security.