| tanzer::router::constructor |
Create a new, empty routing table.
| tanzer::router::add |
|
|
method pattern host args |
|
|
| |
Add a new route with method $method for URI pattern $pattern, host regex $host, and request handler $args to the routing table.
Return a list of the current routing table entries.
| tanzer::router::route |
|
|
request |
|
|
| |
Search through the route entries for a route that matches $request. If no suitable router entry can be matched to the request specified, then throw a 404 error.
The documentation for this class was generated from the following file: