Interface RouterMeans<TRoute>

Request routing means.

Type Parameters

  • TRoute extends PathRoute = URLRoute

    A type of supported route.

Hierarchy

  • RouterMeans

Properties

Methods

Properties

fullRoute: TRoute

Original route.

This should never be changed.

route: TRoute

Matching route.

This is either an original route, or its tail.

routeMatch: RouteMatch<TRoute>

A successful match of the route(s) against pattern(s).

Methods

  • A parser of route pattern string.

    Parameters

    • pattern: string

    Returns RoutePattern<TRoute>

Generated using TypeDoc