opium

Sinatra like web toolkit based on Lwt + Cohttp
IN THIS PACKAGE
Module Opium . Std
include module type of struct include Opium_kernel.Std end
module Rock = Opium_kernel.Std.Rock
module Response = Opium_kernel.Std.Response
module Request = Opium_kernel.Std.Request
module Router = Opium_kernel.Std.Router
module Route = Opium_kernel.Std.Route
module Middleware = Middleware
include module type of struct include App_export end
module App = App_export.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
module Body = Cohttp_lwt.Body