use Named
Adds middleware by name to the route.
Parameters
name
The name of the middleware to apply.
middlewares
The list of middleware to apply based on the name.
Adds middleware by name to the route.
The name of the middleware to apply.
The list of middleware to apply based on the name.