- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for chainCanCancelCall (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
val call = client.newCall(request1) assertFailsWith<SocketTimeoutException> { call.execute() // we want this call to throw a SocketTimeoutException } } @Test fun chainCanCancelCall() { val callRef = AtomicReference<Call>() val interceptor = Interceptor { chain: Interceptor.Chain -> val call = chain.call() callRef.set(call)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 28.2K bytes - Viewed (0)