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 create : scheme:Scheme.t -> version:Versions.HTTP.t -> ?headers:Headers.t -> meth:Method.t -> body:Body.t -> string -> t
val uri : t -> Uri.t
val persistent_connection : t -> bool
val pp_hum : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.