def METHOD_NAME(self):
    self.server = WebsocketServer(port=2303, host=self.host)
    self.server.set_fn_new_client(self.get_client)
    self.server.set_fn_message_received(self.get_message)
    home_dir = os.path.expanduser('~')
    logged = False
    while not logged:
        try:
            f = open(f"{home_dir}/ws_gui.log", "w")
            f.write("websocket_gui=ready")
            f.close()
            logged = True
        except:
            time.sleep(0.1)
    self.server.run_forever()