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())

Properties

Link copied to clipboard

Conditions for all encoders.

Link copied to clipboard

Provides access to a map of encoders.