Module router
Available on crate features
http and std only.Structs§
- Default
Endpoint Layer - Default endpoint layer for the router.
It converts Output and Error types of endpoints using
IntoResponsetrait, same asErrorHandlerLayer, except it returnsRouterErrorinstead ofInfallibleto fit default Router. - Router
- A basic router that can be used to route requests to different services based on the request path.