@loopback/docs
Version:
Documentation for LoopBack 4
30 lines (19 loc) • 726 B
Markdown
lang: en
title: 'API docs: rest.trierouter.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.trierouter.(constructor).html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [TrieRouter](./rest.trierouter.md) > [(constructor)](./rest.trierouter.(constructor).md)
## TrieRouter.(constructor)
Constructs a new instance of the `TrieRouter` class
<b>Signature:</b>
```typescript
constructor(options?: RestRouterOptions);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | <code>RestRouterOptions</code> | |