- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for receivedPongCount (0.16 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
assertThat(webSocket.sentPingCount()).isEqualTo(3) assertThat(server.receivedPingCount()).isEqualTo(3) assertThat(webSocket.receivedPongCount()).isEqualTo(3) // The server has never pinged the client. assertThat(server.receivedPongCount()).isEqualTo(0) assertThat(webSocket.receivedPingCount()).isEqualTo(0) closeWebSockets(webSocket, server) } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} @Synchronized fun sentPingCount(): Int = sentPingCount @Synchronized fun receivedPingCount(): Int = receivedPingCount @Synchronized fun receivedPongCount(): Int = receivedPongCount @Throws(IOException::class) override fun onReadMessage(text: String) { listener.onMessage(this, text) } @Throws(IOException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0)