Expand description
Route to services and handlers based on HTTP methods.
Structs§
- Method
Router - A
Servicethat accepts requests based on aMethodFilterand 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
CONNECTrequests to the given handler. - connect_
service - Route
CONNECTrequests to the given service. - delete
- Route
DELETErequests to the given handler. - delete_
service - Route
DELETErequests to the given service. - get
- Route
GETrequests to the given handler. - get_
service - Route
GETrequests to the given service. - head
- Route
HEADrequests to the given handler. - head_
service - Route
HEADrequests 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
OPTIONSrequests to the given handler. - options_
service - Route
OPTIONSrequests to the given service. - patch
- Route
PATCHrequests to the given handler. - patch_
service - Route
PATCHrequests to the given service. - post
- Route
POSTrequests to the given handler. - post_
service - Route
POSTrequests to the given service. - put
- Route
PUTrequests to the given handler. - put_
service - Route
PUTrequests to the given service. - trace
- Route
TRACErequests to the given handler. - trace_
service - Route
TRACErequests to the given service.