android-components / mozilla.components.concept.fetch / Request / readTimeout

readTimeout

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.

Property

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.