HttpTimeoutConfig
class HttpTimeoutConfig
An HttpTimeout extension configuration that is used during installation.
Constructors
Link copied to clipboard
constructor(requestTimeoutMillis: Long? = null, connectTimeoutMillis: Long? = null, socketTimeoutMillis: Long? = null)
Creates a new instance of HttpTimeoutConfig.
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.