Module router
Available on crate feature
http 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.