CompressionEncoderConfig

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

An encoder configuration for the Compression plugin.

Constructors

Link copied to clipboard
fun CompressionEncoderConfig(    name: String,     encoder: CompressionEncoder,     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

An encoder name matched against an entry in the Accept-Encoding header.

Link copied to clipboard

A priority of an encoder.