- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for RetryOnConnectionFailure (0.14 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* calling application should do its own recovery of connectivity failures. */ fun retryOnConnectionFailure(retryOnConnectionFailure: Boolean) = apply { this.retryOnConnectionFailure = retryOnConnectionFailure } /** * Configure this client to perform fast fallbacks by attempting multiple connectionsCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val dns: Dns = client.dns val followSslRedirects: Boolean = client.followSslRedirects val followRedirects: Boolean = client.followRedirects val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure val callTimeoutMillis: Int = client.callTimeoutMillis val connectTimeoutMillis: Int = client.connectTimeoutMillis val readTimeoutMillis: Int = client.readTimeoutMillisCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public final fun proxyAuthenticator ()Lokhttp3/Authenticator; public final fun proxySelector ()Ljava/net/ProxySelector; public final fun readTimeoutMillis ()I public final fun retryOnConnectionFailure ()Z public final fun socketFactory ()Ljavax/net/SocketFactory; public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory; public final fun webSocketCloseTimeout ()I
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/api/android/okhttp.api
public final fun proxyAuthenticator ()Lokhttp3/Authenticator; public final fun proxySelector ()Ljava/net/ProxySelector; public final fun readTimeoutMillis ()I public final fun retryOnConnectionFailure ()Z public final fun socketFactory ()Ljavax/net/SocketFactory; public final fun sslSocketFactory ()Ljavax/net/ssl/SSLSocketFactory; public final fun webSocketCloseTimeout ()I
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
MockResponse.Builder().onRequestStart(CloseStream(errorCode!!.httpCode)).build(), ) server.enqueue(MockResponse(body = "abc")) client = client .newBuilder() .retryOnConnectionFailure(false) .build() val call = client.newCall(Request(server.url("/"))) assertFailsWith<StreamResetException> { call.execute() }.also { expected ->
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
* Fix: Don't drop headers of healthy streams that raced with `GOAWAY` frames. This bug would cause HTTP/2 streams to occasional hang when the connection was shutting down. * Fix: Honor `OkHttpClient.retryOnConnectionFailure()` when the response is a HTTP 408 Request Timeout. If retries are enabled, OkHttp will retry exactly once in response to a 408. * Fix: Don't crash when reading the empty `HEAD` response body if it specifies
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0)