Utility for representing and running router middleware.
Kind: global class
Initializes the middleware
||Middleware function accepting routeParams as a first argument, which can be mutated and
Middleware function accepting
routeParams as a first argument, which can be
locals object as second argument. This can be used to pass data
Kind: instance property of
Passes provided params to router middleware and runs it.
Kind: instance method of
Promise.<void> - Middleware function.
||The route parameter values.|
||Object used to pass data between middlewares.|