xssProtection

fun xssProtection(xssProtectionConfig: XssProtectionConfigDsl.() -> Unit)

Note this is not comprehensive XSS protection!

Allows customizing the [XXssProtectionHeaderWriter] which adds the X-XSS-Protection header

Parameters

xssProtectionConfig

the customization to apply to the header