package opium_kernel

  1. Overview
  2. Docs
type t = {
  1. request : Cohttp.Request.t;
  2. body : Cohttp_lwt.Body.t;
  3. env : Opium_kernel__.Hmap0.t;
}
val env : t -> Opium_kernel__.Hmap0.t
val body : t -> Cohttp_lwt.Body.t
val request : t -> Cohttp.Request.t
module Fields : sig ... end
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?body:Cohttp_lwt.Body.t -> ?env:Opium_kernel__.Hmap0.t -> Cohttp.Request.t -> t

Convenience accessors on the request field

val uri : t -> Uri.t

Convenience accessors on the request field

val meth : t -> Cohttp.Code.meth
val headers : t -> Cohttp.Header.t
OCaml

Innovation. Community. Security.