buffering messages and send after reconnect

by Vahid Alimohamadi   Last Updated September 11, 2019 21:05 PM

I'm looking for a solution for this, buffering messages in an array and send them after web-socket reconnect. I can check the socket client and push messages to an array when connection is lost and send them after reconnect, But how i can find which message was sent to show a check icon on client side? A solution seems to be sending a uuid from client side as message client side identifier and check it after receiving acknowledge from the server. But any better solution or articles about this?



Related Questions


Design Pattern similar to ESB

Updated August 28, 2017 16:05 PM


Architecture of app that heavily uses web sockets

Updated September 01, 2018 14:05 PM

Separate server for Flask-SocketIO chat functionality?

Updated November 08, 2018 17:05 PM