route

abstract fun route(vararg path: String, routingBuilder: PlainRoutingBuilder.(RoutingContext) -> Unit)(source)

Adds a route for the specified path.

Parameters

path

the path segments for the route

routingBuilder

the routing configuration block