Lines Matching refs:opcode
204 opcode = b1 & OPCODE
208 if opcode == OPCODE_CLOSE_CONN:
216 if opcode == OPCODE_CONTINUATION:
219 elif opcode == OPCODE_BINARY:
222 elif opcode == OPCODE_TEXT:
224 elif opcode == OPCODE_PING:
226 elif opcode == OPCODE_PONG:
229 logger.warn("Unknown opcode %#x." % opcode)
251 def send_text(self, message, opcode=OPCODE_TEXT): argument
277 header.append(FIN | opcode)
282 header.append(FIN | opcode)
288 header.append(FIN | opcode)