Feature

object Feature : HttpClientFeature<HttpRequestBuilder, DefaultRequest>

Functions

Link copied to clipboard
open override fun install(feature: DefaultRequest, scope: HttpClient)

Installs the feature class for a HttpClient defined at scope.

Link copied to clipboard
open override fun prepare(block: HttpRequestBuilder.() -> Unit): DefaultRequest

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

Properties

Link copied to clipboard
open override val key: AttributeKey<DefaultRequest>

The AttributeKey for this feature.