path

fun path(pattern: String, f: (ServerRequest) -> ServerResponse)

Route to the given handler function if the given path predicate applies.

See also


Return a RequestPredicate that tests the request path against the given path pattern.

See also