Feature

Functions

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

Installs the feature class for a HttpClient defined at scope.

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

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

Properties

Link copied to clipboard
const val INFINITE_TIMEOUT_MS: Long

Infinite timeout in milliseconds.

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

The AttributeKey for this feature.