rocket_cors/rocket_cors/sidebar-items.js

1 line
1.2 KiB
JavaScript

initSidebarItems({"enum":[["AllOrSome","An enum signifying that some of type T is allowed, or `All` (everything is allowed)."],["Error","Errors during operations"]],"fn":[["catch_all_options_routes","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."]],"mod":[["headers","CORS specific Request Headers"]],"struct":[["Cors","Response generator and Fairing for CORS"],["CorsOptions","Configuration options for CORS request handling."],["Guard","A request guard to check CORS headers before a route is run. Will not execute the route if checks fail."],["ManualResponder","A Manual Responder used in the \"truly manual\" mode of operation."],["Method","A wrapper type around `rocket::http::Method` to support serialization and deserialization"],["Origins","Origins that are allowed to make CORS requests."],["Responder","A `Responder` which will simply wraps another `Responder` with CORS headers."]],"type":[["AllowedHeaders","A list of allowed headers"],["AllowedMethods","A list of allowed methods"],["AllowedOrigins","A list of allowed origins. Either Some origins are allowed, or all origins are allowed."]]});