permissionsPolicy

fun permissionsPolicy(permissionsPolicyConfig: ServerPermissionsPolicyDsl.() -> Unit)

Allows configuration for Permissions Policy.

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

Parameters

permissionsPolicyConfig

the customization to apply to the header