code: def _wait_response(self, message):
          
          if message is None or message.code != defines.Codes.CONTINUE.number:
              self.queue.put(message)
docs: Private function to get responses from the server.
  
          :param message: the received message