Module Rock.Middleware

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

type t = private {
filter : (Request.tResponse.t) Filter.simple;
name : string;
}
val create : filter:(Request.tResponse.t) Filter.simple -> name:string -> t
val apply : t -> Handler.t -> Handler.t