@loopback/docs
Version:
Documentation for LoopBack 4
31 lines (20 loc) • 860 B
Markdown
lang: en
title: 'API docs: rest.routingtable.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
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 | <code>RestRouter</code> | |
| \_externalRoutes | <code>ExternalExpressRoutes | undefined</code> | |