[][src]Function rocket_cors::catch_all_options_routes

pub fn catch_all_options_routes() -> Vec<Route>

Returns "catch all" OPTIONS routes that you can mount to catch all OPTIONS request. Only works if you have put a Cors struct into Rocket's managed state.

This route has very high rank (and therefore low priority) of max value so you can define your own to override this route's behaviour.

See the documentation at the crate root for usage information.