Available on crate feature
server only.Expand description
Route module for routing path to Services or handlers.
This module includes Router, MethodRouter and Route. The call path is:
Router -> MethodRouter -> Route.
Router is the main router for routing path (uri) to MethodRouters. MethodRouter is
a router for routing method (GET, POST, …) to Routes. Route is a handler or service
for handling the request.
Re-exports§
pub use self::router::Router;pub use self::method_router::*;
Modules§
- method_
router MethodRouterimplementation forServer.- router
Routerimplemententation forServer.