Crate router [−] [src]
Router provides fast and flexible routing for Iron.
Macros
| router |
Create and populate a router. |
| url_for |
Generate a URL based off of the requested one. |
Structs
| NoRoute |
The error thrown by router if there is no matching route, it is always accompanied by a NotFound response. |
| Params | |
| Router |
|
| TrailingSlash |
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. |