def get_received(self, namespace=None):
        namespace = namespace or '/'
        r = [pkt for pkt in self.queue[self.sid]
             if pkt['namespace'] == namespace]
        self.queue[self.sid] = [pkt for pkt in self.queue[self.sid]
                                if pkt not in r]
        return r
Return the list of messages received from the server.
dataset/ETHPy150Open miguelgrinberg/Flask-SocketIO/flask_socketio/test_client.py/SocketIOTestClient.get_received