Pattern

open class Pattern(regex: Regex) : Route

A route that matches a regex, f.e. used as a fallback route.

Constructors

Link copied to clipboard
constructor(regex: Regex)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun match(uri: String): Route.Match?

Matches the given uri against the pattern of the route.

Properties

Link copied to clipboard
open override val pattern: String

The pattern of the route