Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

  • Method: "all" | "get" | "post" | "put" | "delete" | "patch" | "options" | "head" = any

Hierarchy

Callable

  • IRouterMatcher<Route, P, ResBody, ReqBody, ReqQuery, Locals>(path: Route, ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
  • IRouterMatcher<Path, P, ResBody, ReqBody, ReqQuery, Locals>(path: Path, ...handlers: RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
  • IRouterMatcher<P, ResBody, ReqBody, ReqQuery, Locals>(path: PathParams, ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
  • IRouterMatcher<P, ResBody, ReqBody, ReqQuery, Locals>(path: PathParams, ...handlers: RequestHandlerParams<P, ResBody, ReqBody, ReqQuery, Locals>[]): T
  • IRouterMatcher(path: PathParams, subApplication: Application<Record<string, any>>): T
  • Type parameters

    • Route: string

    • P = RouteParameters<Route>

    • ResBody = any

    • ReqBody = any

    • ReqQuery = ParsedQs

    • Locals: Record<string, any> = Record<string, any>

    Parameters

    • path: Route
    • Rest ...handlers: RequestHandler<P, ResBody, ReqBody, ReqQuery, Locals>[]

    Returns T

  • Type parameters

    • Path: string

    • P = RouteParameters<Path>

    • ResBody = any

    • ReqBody = any

    • ReqQuery = ParsedQs

    • Locals: Record<string, any> = Record<string, any>

    Parameters

    Returns T

  • Type parameters

    Parameters

    Returns T

  • Type parameters

    Parameters

    Returns T

  • Parameters

    Returns T