Page Contents
Home > @loopback/rest > TrieRouter
TrieRouter class
Router implementation based on trie
Signature:
export declare class TrieRouter extends BaseRouter
Extends: BaseRouter
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(options)](/doc/en/lb4/apidocs.rest.trierouter._constructor_.html) | Constructs a new instance of the `TrieRouter` class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| [addRouteWithPathVars(route)](/doc/en/lb4/apidocs.rest.trierouter.addroutewithpathvars.html) | `protected` | |
| [findRouteWithPathVars(verb, path)](/doc/en/lb4/apidocs.rest.trierouter.findroutewithpathvars.html) | `protected` | |
| [listRoutesWithPathVars()](/doc/en/lb4/apidocs.rest.trierouter.listrouteswithpathvars.html) | `protected` |