Websocket transport reliability (Socket.io data loss during reconnection)

前端 未结 8 2434
梦谈多话
梦谈多话 2020-12-02 04:58

Used

NodeJS, Socket.io

Problem

Imagine there are 2 users U1 & U2, connected to an app via Socket.io. The al

8条回答
  •  悲哀的现实
    2020-12-02 05:21

    Look here: Handle browser reload socket.io.

    I think you could use solution which I came up with. If you modify it properly, it should work as you want.

提交回复
热议问题