[SOLVED] - How to identify Client side disconnection

Hi, Is there a listener for detecting Meteor client-side DDP disconnection?

If I got the correct listener, I’m going to call DDP.connect() from the client side. Will connect again?

1 Like

Check the connection object return value of Meteor.onConnection

Thanks for the quick response. Is Meteor.onConnection available for client side?

1 Like

You are correct. It is not. Instead, you should monitor Meteor.status and then issue a reconnect from client when it disconnects. Same link