featurePolicy

fun featurePolicy(policyDirectives: String)

Deprecated

Use 'permissionsPolicy { }' instead.

Allows configuration for Feature Policy.

Calling this method automatically enables (includes) the Feature-Policy header in the response using the supplied policy directive(s).

Parameters

policyDirectives

policyDirectives the security policy directive(s)