mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 11:52:54 +00:00 
			
		
		
		
	Print debug message when a client is connected
This commit is contained in:
		@@ -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()))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user