header

fun Routing.header(name: String, value: String, build: Routing.() -> Unit): Routing

Builds a route to match a header with the specified name and value.

See also