You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey
I hope i am not bugging you too much with my posts !
When you call Backbone.sync io, "emit" substitute the usual ajax call.
when server is not responding ajax sync call the error function with the http error. Could we handle this kind of error in backbone.io too ?
I am pretty new to Socket io so I don't know what are the best practices to deal with this errors, the simplest handler could look like that maybe
//...vario=model.socket||window.socket||Backbone.socket;if(io.socket.connected===false){options.error(newError("socket is not connected"));}else{// ...}
The text was updated successfully, but these errors were encountered:
Hey
I hope i am not bugging you too much with my posts !
When you call Backbone.sync io, "emit" substitute the usual ajax call.
when server is not responding ajax sync call the error function with the http error. Could we handle this kind of error in backbone.io too ?
I am pretty new to Socket io so I don't know what are the best practices to deal with this errors, the simplest handler could look like that maybe
The text was updated successfully, but these errors were encountered: