objectory
objectory copied to clipboard
Never call .send() if the WebSocket is down
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:
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?