HttpTimeoutCapabilityConfiguration

An HttpTimeout extension configuration that is used during installation.

Constructors

Link copied to clipboard
fun HttpTimeoutCapabilityConfiguration(requestTimeoutMillis: Long? = null, connectTimeoutMillis: Long? = null, socketTimeoutMillis: Long? = null)

Creates a new instance of HttpTimeoutCapabilityConfiguration.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard

Specifies a connection timeout in milliseconds. The connection timeout is the time period in which a client should establish a connection with a server.

Link copied to clipboard

Specifies a request timeout in milliseconds. The request timeout is the time period required to process an HTTP call: from sending a request to receiving a response.

Link copied to clipboard

Specifies a socket timeout (read and write) in milliseconds. The socket timeout is the maximum time of inactivity between two data packets when exchanging data with a server.