Instanciates a new router.
Router base path that is common to all routes.
Router's base path that is common to all routes that belong to this router.
Router's execution queue that contains all functions that are run when handle method is called.
Array of routes that belong to this router.
Returns the route that matches requested path and method, otherwise undefined.
requested path.
requested method.
Adds a function to the router execution queue.
function that is going to be added.
Adds an array of routes to the router and updates routes path based on router base path.
routes that are going to be added.
Generated using TypeDoc
Responsible to hold middleware functions and routes.