Feature

companion object Feature : 
    ApplicationFeature<ApplicationCallPipeline, Configuration, Compression>

ApplicationFeature implementation for Compression

Companion Object Properties

SuppressionAttribute

val SuppressionAttribute: AttributeKey<Boolean>

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

key

Unique key that identifies a feature

Companion Object Functions

install

fun install(
    pipeline: ApplicationCallPipeline,
    configure: Configuration.() -> Unit
): Compression

Feature installation script