SEAPUNK / socketeer

yet another websocket framework
MIT License
3 stars 0 forks source link

Socket resuming #9

Closed SEAPUNK closed 8 years ago

SEAPUNK commented 8 years ago

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?

SEAPUNK commented 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.

SEAPUNK commented 8 years ago

Working on this in https://github.com/SEAPUNK/socketeer/tree/feature-resuming

SEAPUNK commented 8 years ago

Almost done in the rewrite branch.