package vercel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private Piaf.Response.t = {
  1. status : Piaf.Status.t;
  2. headers : Piaf.Headers.t;
  3. version : Piaf.Versions.HTTP.t;
  4. body : Piaf.Body.t;
}
val create : ?version:Piaf.Versions.HTTP.t -> ?headers:Piaf.Headers.t -> ?body:Piaf.Body.t -> Piaf.Status.t -> t
val of_string : ?version:Piaf.Versions.HTTP.t -> ?headers:Piaf.Headers.t -> body:string -> Piaf.Status.t -> t
val of_bigstring : ?version:Piaf.Versions.HTTP.t -> ?headers:Piaf.Headers.t -> body:Bigstringaf.t -> Piaf.Status.t -> t
val of_string_stream : ?version:Piaf.Versions.HTTP.t -> ?headers:Piaf.Headers.t -> body:string Lwt_stream.t -> Piaf.Status.t -> t
val of_stream : ?version:Piaf.Versions.HTTP.t -> ?headers:Piaf.Headers.t -> body:Bigstringaf.t Piaf.IOVec.t Lwt_stream.t -> Piaf.Status.t -> t
val upgrade : ?version:Piaf.Versions.HTTP.t -> ?headers:Piaf.Headers.t -> ((Gluten.impl -> unit) -> unit) -> t
val of_file : ?version:Piaf.Versions.HTTP.t -> ?headers:Piaf.Headers.t -> string -> t Lwt.t
val persistent_connection : t -> bool
val pp_hum : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.