Timeout

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

Http operations timeouts.

Parameters

request

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

connect

time period in which a client should establish a connection with a server

socket

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

Constructors

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

Properties

Link copied to clipboard
val connect: Duration? = null
Link copied to clipboard
val request: Duration? = null
Link copied to clipboard
val socket: Duration? = null