signalRJS
signalRJS copied to clipboard
How to register on disconnected event
This is working fine signalR.on('CONNECTED', function () { console.log('connected'); });
But i want to log details when connection get disconnect. i have register event like below but not working
signalR.on('DISCONNECTED', function () { console.log('DISCONNECTED'); });