- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for trackFailure (0.07 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
} private fun trackFailure(e: IOException) { hasFailure = true codec.carrier.trackFailure(call, e) } fun <E : IOException?> bodyComplete( bytesRead: Long, responseDone: Boolean, requestDone: Boolean, e: E, ): E { if (e != null) { trackFailure(e) } if (requestDone) { if (e != null) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt
* CONNECT tunnels. Note that CONNECT tunnels are significantly less capable than connections. */ interface Carrier { val route: Route fun trackFailure( call: RealCall, e: IOException?, ) fun noNewExchanges() fun cancel() } companion object { /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt
user.acquireConnectionNoEvents(connection) } user.connectionAcquired(connection) user.connectionConnectionAcquired(connection) return connection } override fun trackFailure( call: RealCall, e: IOException?, ) { // Do nothing. } override fun noNewExchanges() { // Do nothing. } override fun cancel() { canceled = true
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/connection/RealConnection.kt
} /** * Track a failure using this connection. This may prevent both the connection and its route from * being used for future exchanges. */ override fun trackFailure( call: RealCall, e: IOException?, ) { var noNewExchangesEvent = false lock.withLock { if (e is StreamResetException) { when {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 15.4K bytes - Viewed (0)