HttpTimeout
class HttpTimeout
Client HTTP timeout feature. There are no default values, so default timeouts will be taken from engine configuration or considered as infinite time if engine doesn’t provide them.
Types
companion object Feature : Companion object for feature installation. |
|
class HttpTimeoutCapabilityConfiguration HttpTimeout extension configuration that is used during installation. |
Constructors
Client HTTP timeout feature. There are no default values, so default timeouts will be taken from engine configuration or considered as infinite time if engine doesn’t provide them. |
Companion Object Properties
const val INFINITE_TIMEOUT_MS: Long Infinite timeout in milliseconds. |
|
val key: AttributeKey<HttpTimeout> The AttributeKey for this feature. |
Companion Object Functions
fun install(feature: HttpTimeout, scope: HttpClient): Unit Installs the feature class for a HttpClient defined at scope. |
|
fun prepare( Builds a TFeature by calling the block with a TConfig config instance as receiver. |