Timeout

constructor(request: Duration? = null, connect: Duration? = null, socket: Duration? = null)

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