Skip to main content

Module router

Module router 

Available on crate feature http only.

Structs§

DefaultEndpointLayer
Default endpoint layer for the router. It converts Output and Error types of endpoints using IntoResponse trait, same as ErrorHandlerLayer, except it returns RouterError instead of Infallible to fit default Router.
Router
A basic router that can be used to route requests to different services based on the request path.

Enums§

RouterError