Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for receivedPingCount (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top