algo.URLRouter
Description
Path-based routing algorithm.
Constructor
new algo.URLRouter(routes)
Creates an instance of URLRouter.
Methods
add(path, value)
Appends a route.
find(...pathSegments)
Finds a route.
Path-based routing algorithm.
new algo.URLRouter(routes)
Creates an instance of URLRouter.
add(path, value)
Appends a route.
find(...pathSegments)
Finds a route.