Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for clientPingWithPayload (0.12 sec)

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

        assertData("898060b420bb")
      }
    
      @Test fun serverPingWithPayload() {
        serverWriter.writePing("Hello".encodeUtf8())
        assertData("890548656c6c6f")
      }
    
      @Test fun clientPingWithPayload() {
        clientWriter.writePing("Hello".encodeUtf8())
        assertData("898560b420bb28d14cd70f")
      }
    
      @Test fun serverEmptyPong() {
        serverWriter.writePong(EMPTY)
        assertData("8a00")
      }
    
    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