- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for detachWithViolence (0.22 sec)
-
okhttp/src/main/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(this, requestDone = true, responseDone = true, e = null) } private fun trackFailure(e: IOException) { hasFailure = true
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.2K bytes - Viewed (2) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
*/ internal fun exitNetworkInterceptorExchange(closeExchange: Boolean) { this.withLock { check(expectMoreExchanges) { "released" } } if (closeExchange) { exchange?.detachWithViolence() } interceptorScopedExchange = null } fun retryAfterFailure(): Boolean { return exchange?.hasFailure == true && exchangeFinder!!.routePlanner.hasNext(exchange?.connection)
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2)