ClientPlugin

Functions

Link copied to clipboard
abstract fun install(plugin: ClientPluginInstance<PluginConfig>, scope: HttpClient)

Installs the plugin class for a HttpClient defined at scope.

Link copied to clipboard
abstract fun prepare(block: PluginConfig.() -> Unit = {}): ClientPluginInstance<PluginConfig>

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

Properties

Link copied to clipboard

The AttributeKey for this plugin.