Home
last modified time | relevance | path

Searched refs:isControlFrame (Results 1 – 3 of 3) sorted by relevance

/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketReader.java75 private boolean isControlFrame; field in WebSocketReader
100 if (isControlFrame) { in processNextFrame()
114 isControlFrame = (b0 & OPCODE_FLAG_CONTROL) != 0; in readHeader()
117 if (isControlFrame && !isFinalFrame) { in readHeader()
150 if (isControlFrame && frameLength > PAYLOAD_BYTE_MAX) { in readHeader()
252 if (!isControlFrame) { in readUntilNonControlFrame()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/third_party/SocketRocket/
DSRWebSocket.m847 …BOOL isControlFrame = (opcode == SROpCodePing || opcode == SROpCodePong || opcode == SROpCodeConne…
848 if (!isControlFrame) {
898 …BOOL isControlFrame = (frame_header.opcode == SROpCodePing || frame_header.opcode == SROpCodePong …
900 if (isControlFrame && !frame_header.fin) {
905 if (isControlFrame && frame_header.payload_length >= 126) {
910 if (!isControlFrame) {
916 if (isControlFrame) {
929 if (isControlFrame) {
940 } readToCurrentFrame:!isControlFrame unmaskBytes:frame_header.masked];
990 …BOOL isControlFrame = (receivedOpcode == SROpCodePing || receivedOpcode == SROpCodePong || receive…
[all …]
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java411 public boolean isControlFrame() { in isControlFrame() method in NanoWSD.WebSocketFrame.OpCode
442 } else if (opCode.isControlFrame() && !fin) { in read()
631 if (this.opCode.isControlFrame()) { in readPayloadInfo()