Closed TimPietrusky closed 6 years ago
I wonder how I can disable the reconnect after I created an instance of ReconnectingWebSocket. What I tried is using close, but it's still trying to reconnect:
close
let connection = new ReconnectingWebSocket('ws://localhost:3000'); connection.close();
rws.close(1000, 'user logout', {keepClosed: true, fastClose: true});
Thanks for reporting, will be fixed in next release
I wonder how I can disable the reconnect after I created an instance of ReconnectingWebSocket. What I tried is using
close
, but it's still trying to reconnect:Version