route

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

Builds a route to match specified path


fun Route.route(path: String, method: <ERROR CLASS>, build: Route.() -> Unit): Route

Builds a route to match specified method and path