- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for checkRemoteDNSResolve (0.09 sec)
-
okhttp/src/test/java/okhttp3/SocksProxyTest.kt
val response = client.newCall(request).execute() assertThat(response.body.string()).isEqualTo("abc") assertThat(socksProxy.connectionCount()).isEqualTo(1) } @Test fun checkRemoteDNSResolve() { // This testcase will fail if the target is resolved locally instead of through the proxy. server.enqueue(MockResponse.Builder().body("abc").build()) val client = clientTestRule.newClientBuilder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0)