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