Plugin

Functions

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

Installs the plugin class for a HttpClient defined at scope.

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

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

Properties

Link copied to clipboard
const val INFINITE_TIMEOUT_MS: Long

An infinite timeout in milliseconds.

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

The AttributeKey for this plugin.