def run_websocket_server(self, host='localhost', port=9090, debug=False):
        """
        Runs websocket server
        """
        from .server import MeaseWebSocketServerFactory

        websocket_factory = MeaseWebSocketServerFactory(
            mease=self, host=host, port=port, debug=debug)
        websocket_factory.run_server()
Runs websocket server