- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createUnresolved (0.07 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt
ipv4_2, ) } @Test fun getHostString() { // Name proxy specification. var socketAddress = InetSocketAddress.createUnresolved("host", 1234) assertThat(socketAddress.socketHost).isEqualTo("host") socketAddress = InetSocketAddress.createUnresolved("127.0.0.1", 1234) assertThat(socketAddress.socketHost).isEqualTo("127.0.0.1") // InetAddress proxy specification.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RouteFailureTest.kt
fun proxyMoveTest(cleanShutdown: Boolean) { // Define a single Proxy at myproxy:8008 that will artificially move during the test val proxySelector = RecordingProxySelector() val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008) proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress)) // Define two host names for the DNS routing of fake proxy servers
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue May 14 17:48:07 UTC 2024 - 11.9K bytes - Viewed (0)