Feature

companion object Feature : HttpClientFeature<Auth, Auth>

Companion Object Properties

key

val key: AttributeKey<Auth>

The AttributeKey for this feature.

Companion Object Functions

install

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

Installs the feature class for a HttpClient defined at scope.

prepare

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

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