Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for c107f248cdc9c90700 (0.07 sec)

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

        }
        assertThat(count).isEqualTo(1988)
      }
    
      @Test fun clientWithCompressionCannotBeUsedAfterClose() {
        data.write("c107f248cdc9c90700".decodeHex()) // Hello
        clientReaderWithCompression.processNextFrame()
        callback.assertTextMessage("Hello")
        data.write("c107f248cdc9c90700".decodeHex()) // Hello
        clientReaderWithCompression.close()
        assertFailsWith<Exception> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

          WebSocketWriter(
            false,
            data,
            random,
            true,
            false,
            0L,
          )
        serverWriter.writeMessageFrame(OPCODE_TEXT, "Hello".encodeUtf8())
        assertData("c107f248cdc9c90700")
      }
    
      @Test fun serverSmallBufferedPayloadWrittenAsOneFrame() {
        val length = 5
        val payload: ByteString = (binaryData(length))
        serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top