PathMatch

sealed external interface PathMatch(source)

A PathMatch contains info about how a PathPattern matched on a URL pathname.

Properties

Link copied to clipboard
abstract var params: Params

The names and values of dynamic parameters in the URL.

Link copied to clipboard
abstract var pathname: String

The portion of the URL pathname that was matched.

Link copied to clipboard
abstract var pathnameBase: String

The portion of the URL pathname that was matched before child routes.

Link copied to clipboard
abstract var pattern: PathPattern

The pattern that was used to match.