Companion

Functions

Link copied to clipboard
fun fromUrl(url: URL): Route

Convert a URL to a Route.

Link copied to clipboard
fun isRoute(path: String): Boolean

Returns true if a route, i.e. a path without an origin

Link copied to clipboard
fun tryCreate(path: String): Route?