- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for retryOnConnectionFailure (0.29 sec)
-
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
socketFactory[ipv6] = server1.inetSocketAddress socketFactory[ipv4] = server2.inetSocketAddress client = client.newBuilder() .fastFallback(false) .apply { retryOnConnectionFailure = false } .build() executeSynchronously(request) .assertFailureMatches("stream was reset: REFUSED_STREAM") assertThat(client.routeDatabase.failedRoutes).isEmpty()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue May 14 17:48:07 UTC 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt
socketConnectTimeoutMillis = socketConnectTimeoutMillis, socketReadTimeoutMillis = socketReadTimeoutMillis, pingIntervalMillis = pingIntervalMillis, retryOnConnectionFailure = retryOnConnectionFailure, fastFallback = fastFallback, address = address, routeDatabase = routeDatabase, connectionUser = user, ), ),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 03 20:39:41 UTC 2024 - 5.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
socketConnectTimeoutMillis = chain.connectTimeoutMillis, socketReadTimeoutMillis = chain.readTimeoutMillis, pingIntervalMillis = client.pingIntervalMillis, retryOnConnectionFailure = client.retryOnConnectionFailure, fastFallback = client.fastFallback, address = address, routeDatabase = client.routeDatabase, connectionUser = CallConnectionUser( call,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/main/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 connections
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:21:33 UTC 2024 - 52K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
socketConnectTimeoutMillis = socketConnectTimeoutMillis, socketReadTimeoutMillis = socketReadTimeoutMillis, pingIntervalMillis = pingIntervalMillis, retryOnConnectionFailure = retryOnConnectionFailure, user = user, routePlanner = routePlanner, route = route, routes = routes, attempt = attempt, tunnelRequest = tunnelRequest,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 18.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
e: IOException, call: RealCall, userRequest: Request, requestSendStarted: Boolean, ): Boolean { // The application layer has forbidden retries. if (!client.retryOnConnectionFailure) return false // We can't send the request body again. if (requestSendStarted && requestIsOneShot(e, userRequest)) return false // This exception is fatal.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 12.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
socketConnectTimeoutMillis = socketConnectTimeoutMillis, socketReadTimeoutMillis = socketReadTimeoutMillis, pingIntervalMillis = pingIntervalMillis, retryOnConnectionFailure = retryOnConnectionFailure, user = connectionUser, routePlanner = this, route = route, routes = routes, attempt = 0, tunnelRequest = tunnelRequest, connectionSpecIndex = -1,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 12K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
socketConnectTimeoutMillis = chain.connectTimeoutMillis, socketReadTimeoutMillis = chain.readTimeoutMillis, pingIntervalMillis = client.pingIntervalMillis, retryOnConnectionFailure = client.retryOnConnectionFailure, fastFallback = client.fastFallback, address = client.address(request.url), connectionUser = CallConnectionUser(this, connectionPool.connectionListener, chain),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 17.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.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.readTimeoutMillis()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
.eventListenerFactory(loggingEventListenerFactory) .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .retryOnConnectionFailure(false) .build() url = server.url("/") } @Test fun get() { assumeNotWindows() server.enqueue( MockResponse.Builder() .body("Hello!")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0)