- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for proxySelector (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
fun connectTimeoutsAttemptsAlternateRoute() { val proxySelector = RecordingProxySelector() proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, TestUtil.UNREACHABLE_ADDRESS_IPV4)) proxySelector.proxies.add(server.proxyAddress) server.enqueue(MockResponse(body = "success!")) client = client .newBuilder() .proxySelector(proxySelector) .readTimeout(Duration.ofMillis(100))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
MockResponse(body = "response 1"), ) server.enqueue( MockResponse(code = 407), ) client = client .newBuilder() .proxySelector( object : ProxySelector() { override fun select(uri: URI): List<Proxy> = listOf(server.proxyAddress) override fun connectFailed( uri: URI,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/Address;->equalsNonHost$okhttp(Lokhttp3/Address;)Z HSPLokhttp3/Address;->hashCode()I HSPLokhttp3/Authenticator$Companion$AuthenticatorNone;-><init>()V HSPLokhttp3/Authenticator;-><clinit>()V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0)