- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for completeSegmentByteCount (0.9 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt
assertData(format("%04X", payload.completeSegmentByteCount())) assertData(payload.readByteString()) } @Test fun serverMessageLengthLong() { // Create a payload which will overflow the normal and short payload byte size. val payload = Buffer() while (payload.completeSegmentByteCount() <= PAYLOAD_SHORT_MAX) { payload.writeByte('0'.code) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 9.3K bytes - Click Count (0)