Sharing websocket across browser tabs?

后端 未结 9 2075
半阙折子戏
半阙折子戏 2020-12-04 18:08

We want to have one socket per browser rather than one per tab in a browser. How can we achieve it? I read about shared web workers which was promising. A reference for that

9条回答
  •  感情败类
    2020-12-04 18:36

    Don't think there seems to be a solution the way socket.io is implemented now. Check out Guillermo Rauch in thisvideo, fifth segment. He too considers it a challenge.

提交回复
热议问题