package opium_kernel

  1. Overview
  2. Docs

Middleware is a named, simple filter, that only works on rock requests/response

Middleware is a named, simple filter, that only works on rock requests/response

type t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val name : t -> string
val create : filter:(Rock.Request.t, Rock.Response.t) Rock.Filter.simple -> name:string -> t
OCaml

Innovation. Community. Security.