xssProtection

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

Note this is not comprehensive XSS protection!

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

Parameters

xssProtectionConfig

the customization to apply to the header