This commit is contained in:
liris
2013-08-02 12:22:25 +09:00
parent 886ab61e11
commit 77447fc7a4
2 changed files with 1 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ def main():
ws.pong("Hi!")
return frame.opcode, frame.data
return None, None
return frame.opcode, frame.data
def recv_ws():

View File

@@ -738,7 +738,6 @@ class WebSocketApp(object):
self.get_mask_key = get_mask_key
self.sock = None
def send(self, data, opcode=ABNF.OPCODE_TEXT):
"""
send message.