Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Router<C>

Type parameters

Hierarchy

  • Router

Implements

  • MiddlewareObj<C>

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Router<C>(routeFn: RouteFn<C>, handlers?: Map<string, Middleware<C>>): Router<C>

Properties

handlers

handlers: Map<string, Middleware<C>> = ...

Private otherwiseHandler

otherwiseHandler: Middleware<C> = ...

Methods

middleware

on

otherwise

Generated using TypeDoc