Expand description
Route to services and handlers based on HTTP methods.
Structs§
- Method
Router - A
Service
that accepts requests based on aMethodFilter
and allows chaining additional handlers and services.
Functions§
- any
- Route requests with the given handler regardless of the method.
- any_
service - Route requests to the given service regardless of its method.
- connect
- Route
CONNECT
requests to the given handler. - connect_
service - Route
CONNECT
requests to the given service. - delete
- Route
DELETE
requests to the given handler. - delete_
service - Route
DELETE
requests to the given service. - get
- Route
GET
requests to the given handler. - get_
service - Route
GET
requests to the given service. - head
- Route
HEAD
requests to the given handler. - head_
service - Route
HEAD
requests to the given service. - on
- Route requests with the given method to the handler.
- on_
service - Route requests with the given method to the service.
- options
- Route
OPTIONS
requests to the given handler. - options_
service - Route
OPTIONS
requests to the given service. - patch
- Route
PATCH
requests to the given handler. - patch_
service - Route
PATCH
requests to the given service. - post
- Route
POST
requests to the given handler. - post_
service - Route
POST
requests to the given service. - put
- Route
PUT
requests to the given handler. - put_
service - Route
PUT
requests to the given service. - trace
- Route
TRACE
requests to the given handler. - trace_
service - Route
TRACE
requests to the given service.