- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for withConnectTimeout (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
/** * Returns the connect timeout in milliseconds. */ fun connectTimeoutMillis(): Int /** * Returns a new chain with the specified connect timeout. */ fun withConnectTimeout( timeout: Int, unit: TimeUnit, ): Chain /** * Returns the read timeout in milliseconds. */ fun readTimeoutMillis(): Int /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/features/interceptors.md
* Permitted to short-circuit and not call `Chain.proceed()`. * Permitted to retry and make multiple calls to `Chain.proceed()`. * Can adjust Call timeouts using withConnectTimeout, withReadTimeout, withWriteTimeout. **Network Interceptors** * Able to operate on intermediate responses like redirects and retries. * Not invoked for cached responses that short-circuit the network.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Click Count (0)