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