如何将 Socketio admin-ui 与 Flask-Scoketio 链接?

How to link Socketio admin-ui with Flask-Scoketio?

提问人:Kentron.dna 提问时间:11/7/2023 更新时间:11/7/2023 访问量:38

问:

我目前正在从事一个项目,该项目涉及将 Socket.IO Admin-UI 与我的 Flask-SocketIO 后端集成。主要目标是从 Socket.IO 服务器获取实时数据,并在管理工具中将其可视化。

具体来说,我希望解决以下问题:

What is the most effective way to connect my Python Flask-SocketIO backend with Socket.IO Admin-UI, which is launched using Node.js with nodemon?

How can I establish a communication channel between my backend and the admin tool to fetch and display real-time data?

Are there any recommended libraries, modules, or best practices for achieving this integration seamlessly?

我将不胜感激有关如何使此集成工作的任何见解、代码示例或指导。提前感谢您的帮助!

python 节点.js flask socket.io flask-socketio

评论

0赞 Miguel Grinberg 11/8/2023
python-socketio 软件包支持与官方 Socket.IO Admin UI 兼容的检测。我还没有记录如何在 Flask-SocketIO 中使用它,但如果你四处挖掘,你应该能够弄清楚它,因为其他人已经提出并分享了解决方案。

答: 暂无答案