route

fun Route.route(path: String, build: Route.() -> Unit): Route

Builds a route to match specified path


fun Route.route(path: String, method: HttpMethod, build: Route.() -> Unit): Route

Builds a route to match specified method and path