- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for detachWithViolence (0.07 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
codec.cancel() } /** * Revoke this exchange's access to streams. This is necessary when a follow-up request is * required but the preceding exchange hasn't completed yet. */ fun detachWithViolence() { codec.cancel() call.messageDone( exchange = this, requestDone = true, responseDone = true, e = null, ) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
*/ internal fun exitNetworkInterceptorExchange(closeExchange: Boolean) { withLock { check(expectMoreExchanges) { "released" } } if (closeExchange) { exchange?.detachWithViolence() } interceptorScopedExchange = null } fun retryAfterFailure(): Boolean = exchange?.hasFailure == true && exchangeFinder!!.routePlanner.hasNext(exchange?.connection)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 17.8K bytes - Viewed (0)