Lines Matching refs:opcode
25 typedef int OpCode;
40 // Return true if |opcode| is one of the data opcodes known to this
42 static bool IsKnownDataOpCode(OpCode opcode) {
43 return opcode == kOpCodeContinuation || opcode == kOpCodeText ||
44 opcode == kOpCodeBinary;
47 // Return true if |opcode| is one of the control opcodes known to this
49 static bool IsKnownControlOpCode(OpCode opcode) {
50 return opcode == kOpCodeClose || opcode == kOpCodePing ||
51 opcode == kOpCodePong;
63 explicit WebSocketFrameHeader(OpCode opCode)
68 opcode(opCode),
84 OpCode opcode;
96 // A frame must always have an opcode, so this parameter is compulsory.
97 explicit WebSocketFrame(WebSocketFrameHeader::OpCode opcode);