mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 14:31:21 +00:00
Print debug message when a client is connected
This commit is contained in:
parent
7e79c22437
commit
44bf8349c9
@ -13,6 +13,8 @@ class ZMQWebSocketHandler(WebSocketHandler):
|
||||
super().__init__(application, request, **kwargs)
|
||||
|
||||
def open(self, *args, **kwargs):
|
||||
logging.debug('WebSocket connection initiated')
|
||||
|
||||
def zmq_callback(msg_parts):
|
||||
anchor, data = msg_parts
|
||||
logging.debug('Received on pull socket: {}'.format(data.decode()))
|
||||
|
Loading…
Reference in New Issue
Block a user