- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for chainCanCancelCall (0.07 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0)