Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for closeCallsCallback (0.2 sec)

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

          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Malformed close payload length of 1.")
        }
      }
    
      @Test fun closeCallsCallback() {
        data.write("880703e848656c6c6f".decodeHex()) // Close with code and reason
        clientReader.processNextFrame()
        callback.assertClosing(1000, "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)
Back to top