val connectTimeout: Pair<Long, TimeUnit>?
(source)
A timeout to be used when connecting to the resource. If the timeout expires before the connection can be established, a java.net.SocketTimeoutException is raised. A timeout of zero is interpreted as an infinite timeout.
connectTimeout
- A timeout to be used when connecting to the resource. If the timeout expires before the
connection can be established, a java.net.SocketTimeoutException is raised. A timeout of zero is interpreted as an
infinite timeout.