Skip to main content

runtime_cors

Function runtime_cors 

Source
pub async fn runtime_cors(
    __arg0: State<RuntimeCorsConfig>,
    request: Request,
    next: Next,
) -> Response
Expand description

Enforces a freshly resolved policy per cross-origin request, including preflight.