open fun setReadTimeout(timeout: Int): Unit
Set the socket read timeout for the underlying HttpClient. A timeout value of 0 specifies an infinite timeout.
Additional properties can be configured by specifying a RequestConfig instance on a custom HttpClient.
timeout - the timeout value in milliseconds
See Also
#DEFAULT_READ_TIMEOUT_MILLISECONDSRequestConfig#getSocketTimeout()