using
fun using(vararg wares: RouterMiddleware, scope: RouterBuilder.() -> Unit)
Content copied to clipboard
Uses one or multiple RouterMiddlewares.
All routes the are mounted inside of the scope will be using the given wares.
The using function can be nested