- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for ProxySelector (0.08 seconds)
-
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))
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) -
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,
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/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
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Dec 30 23:28:56 GMT 2024 - 127.9K bytes - Click Count (1)