CompressionEncoderConfig

data class CompressionEncoderConfig(val encoder: ContentEncoder, val conditions: List<ApplicationCall.(OutgoingContent) -> Boolean>, val priority: Double)

An encoder configuration for the Compression plugin.

Constructors

Link copied to clipboard
constructor(encoder: ContentEncoder, conditions: List<ApplicationCall.(OutgoingContent) -> Boolean>, priority: Double)

Properties

Link copied to clipboard

Conditions for an encoder.

Link copied to clipboard

An encoder implementation.

Link copied to clipboard

A priority of an encoder.