Interface Base<TMeans, TRoute>

Base router configuration.

Type Parameters

  • TMeans = HttpMeans

    A type of incoming request processing means.

  • TRoute extends PathRoute = URLRoute

    Supported route type.

Hierarchy

Methods

Methods

  • A parser of route pattern string.

    The this parameter is bound to current request processing means.

    Parameters

    • pattern: string

      Pattern string in supported format.

    • context: RequestContext<TMeans & RouterMeans<TRoute>>

      Current request processing context.

    Returns RoutePattern<TRoute>

    Default

    Supports patterns in simple format (simpleRoutePattern()).

Generated using TypeDoc