Commit 35d64484 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Improved a function name

parent efba898b
......@@ -27,7 +27,7 @@ class Server(object):
try:
client_socket, address = self.sock.accept()
client = Client(self, client_socket, address)
client.handshake()
client.send_handshake()
self.clients.append(client)
logging.info('Registered client %s', client)
client.run_threaded()
......
......@@ -31,7 +31,7 @@ class WebSocket(object):
payload = ''.join([f.payload for f in frames])
return create_message(frames[0].opcode, payload)
def handshake(self):
def send_handshake(self):
raw_headers = self.sock.recv(512)
if self.encoding:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment