- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for closeLengthOfOneThrows (0.13 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt
} @Test fun emptyCloseCallsCallback() { data.write("8800".decodeHex()) // Empty close clientReader.processNextFrame() callback.assertClosing(1005, "") } @Test fun closeLengthOfOneThrows() { data.write("880100".decodeHex()) // Close with invalid 1-byte payload assertFailsWith<ProtocolException> { clientReader.processNextFrame() }.also { expected ->
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.4K bytes - Viewed (0)