Home
last modified time | relevance | path

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

/net-tools-3.4.0/python-websocket-server/websocket_server/
Dwebsocket_server.py204 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)
[all …]