Feature

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

Feature object for installation

Companion Object Properties

key

val key: AttributeKey<CORS>

Unique key that identifies a feature

Companion Object Functions

install

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

Feature installation script