crelte / static / StaticRouter
Class: StaticRouter
A plugin
Implements
Constructors
Constructor
ts
new StaticRouter(crelte): StaticRouter;Parameters
crelte
Returns
StaticRouter
Accessors
name
Get Signature
ts
get name(): string;Returns
string
Implementation of
Methods
add()
ts
add(pattern, ...handlers): this;Parameters
pattern
Pattern
handlers
...StaticRouteHandler[]
Returns
this