Function axum::routing::method_routing::options
source · pub fn options<H, T, S>(handler: H) -> MethodRouter<S, Infallible>
Expand description
Route OPTIONS
requests to the given handler.
See get
for an example.