package opium

  1. Overview
  2. Docs

Module Opium.StdSource

include module type of struct include Opium_kernel.Std end
Sourcemodule Middleware = Middleware
include module type of struct include App_export end
Sourceval param : Opium_kernel.Rock.Request.t -> string -> string
Sourceval splat : Opium_kernel.Rock.Request.t -> string list
Sourceval respond : ?headers:Cohttp.Header.t -> ?code:Cohttp.Code.status_code -> App.body -> Opium_kernel.Rock.Response.t
Sourceval respond' : ?headers:Cohttp.Header.t -> ?code:Cohttp.Code.status_code -> App.body -> Opium_kernel.Rock.Response.t Lwt.t
Sourceval redirect : ?headers:Cohttp.Header.t -> Uri.t -> Opium_kernel.Rock.Response.t
Sourceval redirect' : ?headers:Cohttp.Header.t -> Uri.t -> Opium_kernel.Rock.Response.t Lwt.t
Sourceval get : App.route
Sourceval post : App.route
Sourceval put : App.route
Sourceval delete : App.route
Sourceval all : App.route
Sourceval any : Cohttp.Code.meth list -> App.route
module Body = Cohttp_lwt.Body
OCaml

Innovation. Community. Security.