69
rated 0 times
[
76]
[
7]
/ answers: 1 / hits: 36166
/ 13 Years ago, wed, february 1, 2012, 12:00:00
How can a SignalR JavaScript client detect when a connection with the server is lost?
More From » long-polling
How can a SignalR JavaScript client detect when a connection with the server is lost?
The provided answers will no longer work.
This is the new way to stop/disconnect connections.
myHub.stop().then(() => {
alert('Server has disconnected');
});