ktor-client-core / io.ktor.client.features / HttpSend / Feature

Feature

companion object Feature : HttpClientFeature<HttpSend, HttpSend>

Feature installation object

Companion Object Properties

key

val key: AttributeKey<HttpSend>

The AttributeKey for this feature.

Companion Object Functions

install

fun install(feature: HttpSend, scope: HttpClient): Unit

Installs the feature class for a HttpClient defined at scope.

prepare

fun prepare(block: HttpSend.() -> Unit): HttpSend

Builds a TFeature by calling the block with a TConfig config instance as receiver.