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