Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
因为 socket.io 依赖于服务器对象,而子应用程序没有自己的服务器,所以我想知道您将如何做到这一点?
我希望可能有一个 app.on('start') 事件可以访问服务器对象,但看起来情况并非如此。