Plugin

object Plugin : HttpClientPlugin<ResponseObserver.Config, ResponseObserver>

Functions

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

Installs the plugin class for a HttpClient defined at scope.

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

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

Properties

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

The AttributeKey for this plugin.