package piaf

  1. Overview
  2. Docs
type t = private {
  1. meth : Method.t;
  2. target : string;
  3. version : Versions.HTTP.t;
  4. headers : Headers.t;
  5. scheme : Scheme.t;
  6. body : Body.t;
}
val meth : t -> Method.t
val target : t -> string
val version : t -> Versions.HTTP.t
val headers : t -> Headers.t
val scheme : t -> Scheme.t
val body : t -> Body.t
val create : scheme:Scheme.t -> version:Versions.HTTP.t -> ?headers:Headers.t -> meth:Method.t -> body:Body.t -> string -> t
val with_ : ?meth:Method.t -> ?target:string -> ?version:Versions.HTTP.t -> ?headers:Headers.t -> ?scheme:Scheme.t -> ?body:Body.t -> t -> t
val uri : t -> Uri.t
val persistent_connection : t -> bool
val pp_hum : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.