Closed SEAPUNK closed 8 years ago
This is no longer on the backburner, since #19 popped up. I would have added a resuming function on Reservable, but it's better if I do it this way.
Working on this in https://github.com/SEAPUNK/socketeer/tree/feature-resuming
Almost done in the rewrite
branch.
One really nice thing I want to have is socket resuming.
Say a connection breaks. When you call
.retry()
, it will try to connect to the socket again, and if the connection has established, do a special handshake with the server that will let the server flush its message queue (the stuff the client missed) to the client, and whatever the server missed to the server... in order!This will be relatively complex, as I will have a lot of things to keep in mind while I implement such a thing, so this will have to be on the backburner as well. v2, maybe?