Module axum::routing::handler_method_routing[][src]

Expand description

Routing for handlers based on HTTP methods.

Structs

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

The response future for MethodRouter.

Functions

Route requests with any standard HTTP method to the given handler.

Route DELETE requests to the given handler.

Route GET requests to the given handler.

Route HEAD requests to the given handler.

Route requests with the given method to the handler.

Route OPTIONS requests to the given handler.

Route PATCH requests to the given handler.

Route POST requests to the given handler.

Route PUT requests to the given handler.

Route TRACE requests to the given handler.