objectory icon indicating copy to clipboard operation
objectory copied to clipboard

Never call .send() if the WebSocket is down

Open kaisellgren opened this issue 11 years ago • 1 comments

I get these problems when the user's connection dies, he pulls down his laptop's lid, PC goes to sleep mode, or he switches wifi connection:

screenshot on 5 1 2013 at 7 29 16 pm

kaisellgren avatar May 01 '13 16:05 kaisellgren

Also, there should be a way to re-send the commands once the web socket connection is back up.

When our application goes offline (on mobile your screen dimms, laptop lid is closed, etc.) and when it gets back online, our own WebSocket connection and Objectory WebSocket connections are both re-initialized, but Objectory does not re-request so some views in our application have empty content.. it would be ideal if we could get Objectory to re-request when back online and just queue all requests when offline.

Comments?

kaisellgren avatar May 02 '13 13:05 kaisellgren