Base Classes

A router based on routr is build up of Route objects combined together into a RouteStack object. Requests are passed through each route in a RouteStack and subjected to whatever handlers get matched to the URL at each step.


Create a route for dispatching on URL


Combine multiple routes for sequential routing

Route constructors

A few predetermined route functionalities have constructors that help you create them easily.


Create a route for fetching files


Limit the size of requests