Defines the Gotham
Router and supporting types.
- Defines a builder API for constructing a
Routerfunctionality which acts on the
- Defines types that support individual application routes.
- Defines a hierarchial
Treewith subtrees of
- The error type used for a non-matching route, as returned by
RouteMatcher::is_match. Multiple values of this type can be combined by matchers that are wrapping other matchers, using the
unionmethods. The data within is used by the
Routerto create a
Responsewhen no routes were successfully matched.
- Responsible for dispatching HTTP requests to defined routes, and responding with appropriate error codes when a valid
Routeis unable to be determined or the dispatch cannot be performed.