- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for clientAndServerCloseClosesConnection (0.24 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
server.webSocket!!.finishReader() client.listener.assertClosed(1000, "Hello!") server.listener.assertClosed(1000, "Hello!") } @Test @Throws(Exception::class) fun clientAndServerCloseClosesConnection() { // Send close from both sides at the same time. server.webSocket!!.close(1000, "Hello!") client.processNextFrame() // Read close, close connection close. assertThat(client.closed).isFalse()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0)