Class Router

Constructors

Properties

#guarded: boolean
#middlewares: Map<string, IMiddleware[]>

Accessors

  • get guarded(): boolean
  • Returns boolean

  • set guarded(guarded): void
  • Parameters

    • guarded: unknown

    Returns void

  • get methods(): Set<string>
  • Get all supported methods by the router

    Returns Set<string>

Methods