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

connectTimeout

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.

Property

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.