opium

Sinatra like web toolkit based on Lwt + Cohttp
IN THIS PACKAGE
Module Opium . App_export
module App = App
val param : Opium_kernel.Rock.Request.t -> string -> string
val splat : Opium_kernel.Rock.Request.t -> string list
val redirect : ?headers:Cohttp.Header.t -> Uri.t -> Opium_kernel.Rock.Response.t
val get : App.route
val post : App.route
val put : App.route
val delete : App.route
val all : App.route
val any : Cohttp.Code.meth list -> App.route