Module axum::routing::method_routing  
source · Expand description
Route to services and handlers based on HTTP methods.
Structs§
- A
Servicethat accepts requests based on aMethodFilterand allows chaining additional 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
DELETErequests to the given handler. - Route
DELETErequests to the given service. - Route
GETrequests to the given handler. - Route
GETrequests to the given service. - Route
HEADrequests to the given handler. - Route
HEADrequests to the given service. - Route requests with the given method to the handler.
 - Route requests with the given method to the service.
 - Route
OPTIONSrequests to the given handler. - Route
OPTIONSrequests to the given service. - Route
PATCHrequests to the given handler. - Route
PATCHrequests to the given service. - Route
POSTrequests to the given handler. - Route
POSTrequests to the given service. - Route
PUTrequests to the given handler. - Route
PUTrequests to the given service. - Route
TRACErequests to the given handler. - Route
TRACErequests to the given service.