Hello,
I am connecting to meteor server via websocket.
Like that const websocket = new WebSocket("ws://localhost:3000/websocket");
I wanted to run some function when this connection closed. How can I do that?
Can I listen this connection on server? Meteor.onConnection
does not work.
Thank you.