@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
32 lines (21 loc) • 963 B
Markdown
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) > [@loopback/rest](./rest.md) > [RoutingTable](./rest.routingtable.md) > [(constructor)](./rest.routingtable._constructor_.md)
## RoutingTable.(constructor)
Constructs a new instance of the `RoutingTable` class
<b>Signature:</b>
```typescript
constructor(_router?: RestRouter, _externalRoutes?: ExternalExpressRoutes | undefined);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| \_router | [RestRouter](./rest.restrouter.md) | |
| \_externalRoutes | ExternalExpressRoutes \| undefined | |