- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for initExchange (0.94 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
} open fun receivedResponseAtMillis(receivedResponseAtMillis: Long) = apply { this.receivedResponseAtMillis = receivedResponseAtMillis } internal fun initExchange(exchange: Exchange) { this.exchange = exchange } open fun build(): Response { check(code >= 0) { "code < 0: $code" } return Response(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
} @Throws(IOException::class) fun readResponseHeaders(expectContinue: Boolean): Response.Builder? { try { val result = codec.readResponseHeaders(expectContinue) result?.initExchange(this) return result } catch (e: IOException) { call.eventListener.responseFailed(call, e) trackFailure(e) throw e } }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 10.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
else -> SequentialExchangeFinder(routePlanner) } } } /** Finds a new or pooled connection to carry a forthcoming request and response. */ internal fun initExchange(chain: RealInterceptorChain): Exchange { withLock { check(expectMoreExchanges) { "released" } check(!responseBodyOpen && !requestBodyOpen && !socketSourceOpen && !socketSinkOpen) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 19.7K bytes - Viewed (0)