Plugin

object Plugin : HttpClientPlugin<UserAgent.Config, UserAgent>

Functions

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

Installs the plugin class for a HttpClient defined at scope.

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

Builds a TPlugin 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 plugin.