Feature

object Feature : HttpClientFeature<UserAgent.Config, UserAgent>

Functions

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

Installs the feature class for a HttpClient defined at scope.

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

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

Properties

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

The AttributeKey for this feature.