Crate router

Source
Expand description

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
Router provides an interface for creating complex routes as middleware for the Iron framework.
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.