View definition

type GenericMiddleware

Defined in


GenericMiddleware are middleware that doesn't have or need a context. General purpose middleware, such as static file serving, has this signature. If your middlware doesn't need a context, you can use this signature to get a small performance boost.

GenericMiddleware is referenced in 1 repository