algo.URLRouter()
Syntax
new algo.URLRouter({ ...routes })
Parameters
new algo.URLRouter(routes)
routes
An object of key-value pairs where keys are the paths and values are what the paths map to.
Return Value
A URLRouter object with the provided initial mapping.