Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 880703e948656c6c6f (0.15 sec)

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

        serverWriter.writeClose(1001, null)
        assertData("880203e9")
      }
    
      @Test fun serverCloseWithCodeAndReason() {
        serverWriter.writeClose(1001, "Hello".encodeUtf8())
        assertData("880703e948656c6c6f")
      }
    
      @Test fun clientEmptyClose() {
        clientWriter.writeClose(0, null)
        assertData("888060b420bb")
      }
    
      @Test fun clientCloseWithCode() {
        clientWriter.writeClose(1001, null)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        }
      }
    
      @Test fun closeCallsCallback() {
        data.write("880703e848656c6c6f".decodeHex()) // Close with code and reason
        clientReader.processNextFrame()
        callback.assertClosing(1000, "Hello")
      }
    
      @Test fun closeIncompleteCallsCallback() {
        data.write("880703e948656c6c6f".decodeHex()) // Close with code and reason
        data.close()
        clientReader.processNextFrame()
    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