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
I've upgraded from 0.9 and noticed that error event is not triggered on socket when client can't connect to the server.
socket = io.connect(url, opts);
socket.on('error', function (error) {
// never triggered on connection error
}).on('connect_error', function(error){
// this is triggered instead
});
Documentation says:
Socket::error. Fired upon a connection error
The text was updated successfully, but these errors were encountered:
I've upgraded from 0.9 and noticed that error event is not triggered on socket when client can't connect to the server.
Documentation says:
The text was updated successfully, but these errors were encountered: