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.

Route

Create a route for dispatching on URL

RouteStack

Combine multiple routes for sequential routing

Route constructors

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

ressource_route()

Create a route for fetching files

sizelimit_route()

Limit the size of requests