CompressionEncoderConfig

data class CompressionEncoderConfig

Configuration for an encoder

Constructors

<init>

CompressionEncoderConfig(
    name: String,
    encoder: CompressionEncoder,
    conditions: List<ApplicationCall.(OutgoingContent) -> Boolean>,
    priority: Double)

Configuration for an encoder

Properties

conditions

Conditions for the encoder

encoder

val encoder: CompressionEncoder

Encoder implementation

name

val name: String

Name of the encoder, matched against entry in Accept-Encoding header

priority

val priority: Double

Priority of the encoder