Module: middleware/stackMiddleware
Functions
stackMiddlewares
▸ stackMiddlewares(functions?
): NextMiddlewareWithAuth
Chain multiple middleware functions into one.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
functions | MiddlewareWrapper [] | [] | Functions to chain. |
Returns
NextMiddlewareWithAuth
Chained middleware function.