reconnecting-websocket icon indicating copy to clipboard operation
reconnecting-websocket copied to clipboard

Will this library automatically send heartbeat packets? 请问这个库会自动发送心跳包吗?

Open kKevin0001 opened this issue 3 years ago • 1 comments

Will this library automatically send heartbeat packets? 请问这个库会自动发送心跳包吗?

kKevin0001 avatar Apr 25 '21 14:04 kKevin0001

As far as I know, the answer is NO. This library will not send any heartbeat messages when websocket's readyState is WebSocket.OPEN, and it only attemps to create a new websocket connection when the previous websocket connection's onclose is called.

myan0020 avatar Jan 12 '23 09:01 myan0020