- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for applicationInterceptorsCanMakeMultipleRequestsToServer (2.82 sec)
-
okhttp/src/test/java/okhttp3/InterceptorTest.kt
client.newCall(request).enqueue(callback) callback.await(request.url) .assertCode(200) .assertHeader("OkHttp-Intercepted", "yep") } @Test fun applicationInterceptorsCanMakeMultipleRequestsToServer() { server.enqueue(MockResponse.Builder().body("a").build()) server.enqueue(MockResponse.Builder().body("b").build()) client = client.newBuilder() .addInterceptor(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0)