Module axum::routing

source · []
Expand description

Routing between Services and handlers.

Modules

Future types.

Structs

A MakeService that produces axum router services.

A filter that matches one or more HTTP methods.

A Service that accepts requests based on a MethodFilter and allows chaining additional handlers and services.

How routes are stored inside a Router.

The router type for composing handlers and services.

Functions

Route requests with the given handler regardless of the method.

Route requests to the given service regardless of its method.

Route DELETE requests to the given handler.

Route DELETE requests to the given service.

Route GET requests to the given handler.

Route GET requests to the given service.

Route HEAD requests to the given handler.

Route HEAD requests to the given service.

Route requests with the given method to the handler.

Route requests with the given method to the service.

Route OPTIONS requests to the given handler.

Route OPTIONS requests to the given service.

Route PATCH requests to the given handler.

Route PATCH requests to the given service.

Route POST requests to the given handler.

Route POST requests to the given service.

Route PUT requests to the given handler.

Route PUT requests to the given service.

Route TRACE requests to the given handler.

Route TRACE requests to the given service.