- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for addProxy (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
// Use a misconfigured proxy to guarantee that the request is retried. client = client .newBuilder() .proxySelector( FakeProxySelector() .addProxy(server2.proxyAddress) .addProxy(Proxy.NO_PROXY), ).build() server2.close() val request = Request( url = server.url("/def"), body = transferKind.newRequestBody("body"), )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Jun 21 20:36:35 GMT 2025 - 133.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
client = client .newBuilder() .proxySelector( FakeProxySelector() .addProxy(server2.proxyAddress) .addProxy(Proxy.NO_PROXY), ).build() server2.close() val request = Request( url = server.url("/"), body = "abc".toRequestBody("text/plain".toMediaType()),Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 147.4K bytes - Click Count (0)