Module axum::routing::method_routing

source ·
Expand description

Route to services and handlers based on HTTP methods.

Structs§

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.