method

fun Route.method(
    method: HttpMethod,
    body: Route.() -> Unit
): Route

Builds a route to match specified method