using

fun using(vararg wares: RouterMiddleware, scope: RouterBuilder.() -> Unit)

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