Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bye (0.01 sec)

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

        assertThat(client.webSocket!!.close(1000, "Bye!")).isTrue()
        client.webSocket!!.finishReader()
        taskFaker.runTasks()
        client.listener.assertClosed(1000, "Hello!")
        server.processNextFrame()
        server.listener.assertClosing(1000, "Bye!")
        server.webSocket!!.finishReader()
        server.listener.assertClosed(1000, "Bye!")
      }
    
      @Test
      fun emptyCloseInitiatesShutdown() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
            }
          },
        )
        server.close(1001, "bye")
        clientListener.assertClosed(1001, "bye")
        clientListener.assertExhausted()
        serverListener.assertClosing(1000, "")
        serverListener.assertClosed(1000, "")
        serverListener.assertExhausted()
      }
    
      @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)
Back to top