Feature

ApplicationFeature implementation for Compression

Functions

Link copied to clipboard
open override fun install(pipeline: ApplicationCallPipeline, configure: Compression.Configuration.() -> Unit): Compression

Feature installation script

Properties

Link copied to clipboard
open override val key: AttributeKey<Compression>

Unique key that identifies a feature

Link copied to clipboard
val SuppressionAttribute: AttributeKey<Boolean>

Attribute that could be added to an application call to prevent it's response from being compressed