Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for clientUncompressedMessageWithCompressedFlagThrows (0.33 sec)

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

        data.write("810548656c".decodeHex()) // Length = 5, "Hel"
        assertFailsWith<EOFException> {
          clientReader.processNextFrame()
        }
      }
    
      @Test fun clientUncompressedMessageWithCompressedFlagThrows() {
        data.write("c10548656c6c6f".decodeHex()) // Uncompressed 'Hello', flag 1 set
        assertFailsWith<IOException> {
          clientReaderWithCompression.processNextFrame()
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (1)
Back to top