opium_kernel

Sinatra like web toolkit based on Lwt + Cohttp
Library opium_kernel
type t = {
request : Cohttp.Request.t;
body : Cohttp_lwt.Body.t;
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 -> Ppx_sexp_conv_lib.Sexp.t
val create : ?body:Cohttp_lwt.Body.t -> ?env:Opium_kernel__Hmap0.t -> Cohttp.Request.t -> t
val uri : t -> Uri.t
val meth : t -> Cohttp.Code.meth
val headers : t -> Cohttp.Header.t