- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for ProxySelectStart (0.06 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
long elapsedNanos = System.nanoTime() - callStartNanos; System.out.printf("%04d %.3f %s%n", callId, elapsedNanos / 1000000000d, name); } @Override public void proxySelectStart(Call call, HttpUrl url) { printEvent("proxySelectStart"); } @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) { printEvent("proxySelectEnd"); }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt
override val call: Call, val dispatcher: Dispatcher, ) : CallEvent() { override fun closes(event: CallEvent): Boolean = event is DispatcherQueueStart && call == event.call } data class ProxySelectStart( override val timestampNs: Long, override val call: Call, val url: HttpUrl, ) : CallEvent() data class ProxySelectEnd( override val timestampNs: Long, override val call: Call,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Oct 06 13:40:20 UTC 2025 - 7.4K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
import okhttp3.CallEvent.ConnectionReleased import okhttp3.CallEvent.DnsEnd import okhttp3.CallEvent.DnsStart import okhttp3.CallEvent.FollowUpDecision import okhttp3.CallEvent.ProxySelectEnd import okhttp3.CallEvent.ProxySelectStart import okhttp3.CallEvent.RequestHeadersEnd import okhttp3.CallEvent.RequestHeadersStart import okhttp3.CallEvent.ResponseBodyEnd import okhttp3.CallEvent.ResponseBodyStart import okhttp3.CallEvent.ResponseHeadersEnd
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 8.8K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
it.msg.replace( "\\[\\d+ ms] ".toRegex(), "", ) }, ).containsExactly( "callStart: Request{method=GET, url=http://google.com/robots.txt}", "proxySelectStart: http://google.com/", "proxySelectEnd: [DIRECT]", "dnsStart: google.com", "callFailed: java.net.UnknownHostException: shortcircuit", )
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/features/caching.md
Cache Miss will be typical if the item has not been read from the network, is uncacheable, or is past it's lifetime based on Response cache headers. - CallStart - **CacheMiss** - ProxySelectStart - ... Standard Events ... - CallEnd ### Conditional Cache Hit When cache flags require checking the cache results are still valid an early cacheConditionalHit event is
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (1) -
okhttp-logging-interceptor/api/logging-interceptor.api
public fun dnsEnd (Lokhttp3/Call;Ljava/lang/String;Ljava/util/List;)V public fun dnsStart (Lokhttp3/Call;Ljava/lang/String;)V public fun proxySelectEnd (Lokhttp3/Call;Lokhttp3/HttpUrl;Ljava/util/List;)V public fun proxySelectStart (Lokhttp3/Call;Lokhttp3/HttpUrl;)V public fun requestBodyEnd (Lokhttp3/Call;J)V public fun requestBodyStart (Lokhttp3/Call;)V public fun requestFailed (Lokhttp3/Call;Ljava/io/IOException;)V
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 15:15:46 UTC 2025 - 4.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
import okhttp3.CallEvent.ConnectionReleased import okhttp3.CallEvent.DnsEnd import okhttp3.CallEvent.DnsStart import okhttp3.CallEvent.FollowUpDecision import okhttp3.CallEvent.ProxySelectEnd import okhttp3.CallEvent.ProxySelectStart import okhttp3.CallEvent.RequestBodyEnd import okhttp3.CallEvent.RequestBodyStart import okhttp3.CallEvent.RequestFailed import okhttp3.CallEvent.RequestHeadersEnd import okhttp3.CallEvent.RequestHeadersStart
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 25.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY) return proxiesOrNull.toImmutableList() } call.eventListener.proxySelectStart(call, url) proxies = selectProxies() nextProxyIndex = 0 call.eventListener.proxySelectEnd(call, url, proxies) } /** Returns true if there's another proxy to try. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 7.3K bytes - Viewed (2) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
import okhttp3.CallEvent.ConnectionReleased import okhttp3.CallEvent.DnsEnd import okhttp3.CallEvent.DnsStart import okhttp3.CallEvent.FollowUpDecision import okhttp3.CallEvent.ProxySelectEnd import okhttp3.CallEvent.ProxySelectStart import okhttp3.CallEvent.RequestHeadersEnd import okhttp3.CallEvent.RequestHeadersStart import okhttp3.CallEvent.ResponseBodyEnd import okhttp3.CallEvent.ResponseBodyStart import okhttp3.CallEvent.ResponseHeadersEnd
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 29.9K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
val client = OkHttpClient.Builder() .addInterceptor(BrotliInterceptor) .build() ``` This artifact has a dependency on Google's Brotli decoder (95 KiB). * New: `EventListener.proxySelectStart()`, `proxySelectEnd()` events give visibility into the proxy selection process. * New: `Response.byteString()` reads the entire response into memory as a byte string. * New: `OkHttpClient.x509TrustManager` accessor.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0)