Page Contents
Home > @loopback/rest > Trie
Trie class
An implementation of trie for routes. The key hierarchy is built with parts of the route path delimited by /
Signature:
export declare class Trie<T>
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
|
Node<T> |
Methods
| Method | Modifiers | Description |
|---|---|---|
|
Create a node for a given path template | ||
|
List all nodes with value of the trie | ||
|
Match a route path against the trie |