Page Contents
Home > @loopback/rest > RoutingTable > (constructor)
RoutingTable.(constructor)
Constructs a new instance of the RoutingTable class
Signature:
constructor(_router?: RestRouter, _externalRoutes?: ExternalExpressRoutes | undefined);
Parameters
| Parameter | Type | Description |
|---|---|---|
| \_router | [RestRouter](/doc/en/lb4/apidocs.rest.restrouter.html) | _(Optional)_ |
| \_externalRoutes | ExternalExpressRoutes \| undefined | _(Optional)_ |