- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for writeMessageFrame (0.1 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt
@Test fun serverTextMessage() { serverWriter.writeMessageFrame(OPCODE_TEXT, "Hello".encodeUtf8()) assertData("810548656c6c6f") } @Test fun serverCompressedTextMessage() { val serverWriter = WebSocketWriter( false, data, random, true, false, 0L, ) serverWriter.writeMessageFrame(OPCODE_TEXT, "Hello".encodeUtf8())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} } try { if (pong != null) { writer!!.writePong(pong) } else if (messageOrClose is Message) { val message = messageOrClose as Message writer!!.writeMessageFrame(message.formatOpcode, message.data) synchronized(this) { queueSize -= message.data.size.toLong() } } else if (messageOrClose is Close) { val close = messageOrClose as Close
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 22.1K bytes - Viewed (0)