opium_kernel

Sinatra like web toolkit based on Lwt + Cohttp
Library opium_kernel
Module Opium_kernel . Router
type 'action t
include Ppx_sexp_conv_lib.Sexpable.S1 with type 'action t := 'action t
val t_of_sexp : ( Sexplib0.Sexp.t -> 'a ) -> Sexplib0.Sexp.t -> 'a t
val sexp_of_t : ( 'a -> Sexplib0.Sexp.t ) -> 'a t -> Sexplib0.Sexp.t
val create : unit -> _ t
val add : 'a t -> route:Route.t -> meth:Cohttp.Code.meth -> action:'a -> unit
val param : Rock.Request.t -> string -> string
val splat : Rock.Request.t -> string list