def open(self):
    'Called when a websocket connection is initiated.'
    print('WebSocket opened', 'from user at {}'.format(self.request.remote_ip))
Called when a websocket connection is initiated.
def open(self):
    
    print('WebSocket opened', 'from user at {}'.format(self.request.remote_ip))