Constructors
constructor
-
Parameters
-
-
Default value root: Segment = new Segment("")
Methods
add
- add(__namedParameters: object): void
-
Parameters
-
__namedParameters: object
-
data: any
-
method: string
-
path: string
Returns void
match
- match(method: string, path: string): null | IRouteMatch
-
Parameters
-
method: string
-
path: string