code: def on_ping(self, data):
          
          self.log.debug('jupyter_server_proxy: on_ping: {}'.format(data))
          self._record_activity()
          if hasattr(self, 'ws'):
              self.ws.protocol.write_ping(data)
docs: Called when the client pings our websocket connection.
  
          We proxy it to the backend.