- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for chainCanCancelCall (0.12 seconds)
-
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)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0)