Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for clientFramePayloadLong (0.11 sec)

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

      }
    
      @Test fun clientFramePayloadShort() {
        data.write("817E000548656c6c6f".decodeHex()) // Hello
        clientReader.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientFramePayloadLong() {
        data.write("817f000000000000000548656c6c6f".decodeHex()) // Hello
        clientReader.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientFramePayloadTooLongThrows() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top