CompressionOptions
data class CompressionOptions(encoders: Map<String, CompressionEncoderConfig>, conditions: List<ApplicationCall.(OutgoingContent) -> Boolean>)
Content copied to clipboard
A configuration for the Compression plugin.
Constructors
Link copied to clipboard
fun CompressionOptions(encoders: Map<String, CompressionEncoderConfig> = emptyMap(), conditions: List<ApplicationCall.(OutgoingContent) -> Boolean> = emptyList())
Content copied to clipboard