Expand description
Router
provides fast and flexible routing for Iron.
Macros§
Structs§
- NoRoute
- The error thrown by router if there is no matching route, it is always accompanied by a NotFound response.
- Params
- Router
Router
provides an interface for creating complex routes as middleware for the Iron framework.- Trailing
Slash - The error thrown by router if a request was redirected by adding or removing a trailing slash.
Functions§
- url_for
- Generate a URL based off of the currently requested URL.