optionalRoute

fun Route.optionalRoute(path: String, build: Route.() -> Unit): Route

Builds a route to optionally match specified path, if it exists.

Sources

Link copied to clipboard