val readTimeout: Pair<Long, TimeUnit>?
(source)
A timeout to be used when reading from the resource. If the timeout expires before there is data available for read, a java.net.SocketTimeoutException is raised. A timeout of zero is interpreted as an infinite timeout.
readTimeout
- A timeout to be used when reading from the resource. If the timeout expires before there is
data available for read, a java.net.SocketTimeoutException is raised. A timeout of zero is interpreted as an infinite
timeout.