crossOriginEmbedderPolicy

fun crossOriginEmbedderPolicy(crossOriginEmbedderPolicyConfig: CrossOriginEmbedderPolicyDsl.() -> Unit)

Allows configuration for Cross-Origin-Embedder-Policy header.

Calling this method automatically enables (includes) the Cross-Origin-Embedder-Policy header in the response using the supplied policy.

Since

5.7

Parameters

crossOriginEmbedderPolicyConfig

the customization to apply to the header