Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for serverCloseBreaksReadMessageLoop (0.12 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        server.listener.assertExhausted() // Client should not have sent second close.
        client.listener.assertExhausted() // Server should not have sent second close.
      }
    
      @Test
      fun serverCloseBreaksReadMessageLoop() {
        server.webSocket!!.send("Hello!")
        server.webSocket!!.close(1000, "Bye!")
        assertThat(client.processNextFrame()).isTrue()
        client.listener.assertTextMessage("Hello!")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top