- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for pingOnInterval (0.06 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
taskFaker.runTasks() client.webSocket!!.finishReader() client.listener.assertFailure(IOException::class.java, "source is closed") assertThat(client.closed).isTrue() } @Test fun pingOnInterval() { client.initWebSocket(random, pingIntervalMillis = 500) taskFaker.advanceUntil(ns(500L)) server.processNextFrame() // Ping. client.processNextFrame() // Pong. taskFaker.advanceUntil(ns(1000L))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0)