setConnectTimeout

open fun setConnectTimeout(connectTimeoutMs: Int): HttpRequestConfig.Builder

Increments the connection timeout

Parameters

connectTimeoutMs

- the new value for the connection timeout in milliseconds. If the value is 0 it won't be taken in count