Timeout

data class Timeout(val request: Duration? = null, val connect: Duration? = null, val socket: Duration? = null)(source)

HTTP operation timeouts.

Constructors

Link copied to clipboard
constructor(request: Duration? = null, connect: Duration? = null, socket: Duration? = null)

Properties

Link copied to clipboard

Time period in which a client should establish a connection with a server.

Link copied to clipboard

Time period required to process an HTTP call: from sending a request to receiving a response.

Link copied to clipboard

Maximum time of inactivity between two data packets when exchanging data with a server.