Router class

Hierarchy

  • EventEmitter
    • Router

Constructors

Properties

Methods

Constructors

  • Create a new instance of the Router class

    Parameters

    • register: Registry

      Register used by this component

    • path: string = PREFIX_PATH

      prefix path for all the routes

    Returns Router

Properties

router: Router

Methods