Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 810548656c6c6f (0.1 sec)

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

        }
      }
    
      @Test fun clientSimpleHello() {
        data.write("810548656c6c6f".decodeHex()) // Hello
        clientReader.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
      @Test fun clientWithCompressionSimpleUncompressedHello() {
        data.write("810548656c6c6f".decodeHex()) // Hello
        clientReaderWithCompression.processNextFrame()
        callback.assertTextMessage("Hello")
    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

          noContextTakeover = false,
          minimumDeflateSize = 0L,
        )
    
      @Test fun serverTextMessage() {
        serverWriter.writeMessageFrame(OPCODE_TEXT, "Hello".encodeUtf8())
        assertData("810548656c6c6f")
      }
    
      @Test fun serverCompressedTextMessage() {
        val serverWriter =
          WebSocketWriter(
            false,
            data,
            random,
            true,
            false,
            0L,
          )
    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