lahsivjar / react-stomp

React websocket component for STOMP protocol over SockJs
https://www.npmjs.com/package/react-stomp
MIT License
134 stars 41 forks source link

Auto Reconnect featue #218

Open zilpage opened 1 year ago

zilpage commented 1 year ago

Would be great to have an auto reconnection mechanism when a client gets disconnected. This could be as a result of websocket server restart or something else.

DanubiaM commented 1 year ago

See in https://github.com/lahsivjar/react-stomp/blob/f66a5f9092dd11022c0f51f98c3ba389a78b7b48/API.md#autoreconnect