UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

77 lines (39 loc) 1.25 kB
--- lang: en title: 'API docs: rest.routingtable._constructor_' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest permalink: /doc/en/lb4/apidocs.rest.routingtable._constructor_.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RoutingTable](./rest.routingtable.md) &gt; [(constructor)](./rest.routingtable._constructor_.md) ## RoutingTable.(constructor) Constructs a new instance of the `RoutingTable` class **Signature:** ```typescript constructor(_router?: RestRouter, _externalRoutes?: ExternalExpressRoutes | undefined); ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> \_router </td><td markdown="1"> [RestRouter](./rest.restrouter.md) </td><td markdown="1"> _(Optional)_ </td></tr> <tr><td markdown="1"> \_externalRoutes </td><td markdown="1"> ExternalExpressRoutes \| undefined </td><td markdown="1"> _(Optional)_ </td></tr> </tbody></table>