HttpClientFeature

interface HttpClientFeature<out TConfig : Any, TFeature : Any>

Base interface representing a HttpClient feature.

Functions

Link copied to clipboard
abstract fun install(feature: TFeature, scope: HttpClient)

Installs the feature class for a HttpClient defined at scope.

Link copied to clipboard
abstract fun prepare(block: TConfig.() -> Unit = {}): TFeature

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

Properties

Link copied to clipboard
abstract val key: AttributeKey<TFeature>

The AttributeKey for this feature.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard