Route

class Route(pathQueryAndFragment: String)(source)

A path component to a relative or absolute URL string without a domain, e.g. "/example/path" or "example/path".

If this route is constructed with a leading domain, e.g. "http://whatever.com" or protocol, e.g. "mailto:account@site.com", it will throw an exception

Constructors

Link copied to clipboard
constructor(path: String, queryParams: Map<String, String>, fragment: String?)
constructor(pathQueryAndFragment: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String