- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ping_es (0.03 sec)
-
docs/changelogs/changelog_3x.md
pings, but it did not track whether the reply pongs were received. With this update OkHttp requires that every ping receive a response: if it does not the connection will be closed and the listener's `onFailure()` method will be called. Web sockets have always been had pings, but pings on HTTP/2 connections is new in this release. Pings are used for connections that are busy carrying
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* * The default value of 0 disables client-initiated pings. */ fun pingInterval( interval: Long, unit: TimeUnit, ) = apply { pingInterval = checkDuration("interval", interval, unit) } /** * Sets the interval between HTTP/2 and web socket pings initiated by this client. Use this to
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
.pingInterval(Duration.ofMillis(500)) .build() // Set up the server to ignore the socket. It won't respond to pings! server.enqueue(MockResponse.Builder().onRequestStart(Stall).build()) // Make a call. It'll fail as soon as our pings detect a problem. val call = client.newCall(Request(server.url("/"))) val executeAtNanos = System.nanoTime()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0)