Function axum::routing::method_routing::options_service
source · pub fn options_service<T, S>(svc: T) -> MethodRouter<S, T::Error>
Expand description
Route OPTIONS
requests to the given service.
See get_service
for an example.