method

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

Builds a route to match the specified HTTP method.

See also