open fun setReadTimeout(readTimeout: Int): Unit
Set the underlying URLConnection's read timeout (in milliseconds). A timeout value of 0 specifies an infinite timeout.
Default is the system's default timeout.
See Also
URLConnection#setReadTimeout(int)