Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

Hierarchy

  • Router

Implements

  • MiddlewareObj<C>

Index

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