package opium

  1. Overview
  2. Docs
Legend:
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 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 redirect' : ?headers:Cohttp.Header.t -> Uri.t -> Opium_kernel.Rock.Response.t Lwt.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
OCaml

Innovation. Community. Security.