resource

fun resource(predicate: RequestPredicate, resource: Resource)

Route requests that match the given predicate to the given resource.

Since

6.1.4

See also