Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
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 Cookie = Opium_kernel.Std.Cookie
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 respond :
?headers:Cohttp.Header.t ->
?code:Cohttp.Code.status_code ->
App.body ->
Opium_kernel.Rock.Response.t
val respond' :
?headers:Cohttp.Header.t ->
?code:Cohttp.Code.status_code ->
App.body ->
Opium_kernel.Rock.Response.t Lwt.t
val redirect :
?headers:Cohttp.Header.t ->
Uri.t ->
Opium_kernel.Rock.Response.t
val redirect' :
?headers:Cohttp.Header.t ->
Uri.t ->
Opium_kernel.Rock.Response.t Lwt.t
val not_found : Opium_kernel.Rock.Handler.t -> App.builder
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
val middleware : Opium_kernel.Rock.Middleware.t -> App.builder
module Body = Cohttp_lwt.Body