Re: [django-channels client wrapper] specifying no reconnection attempts

2018-07-15 Thread Andrew Godwin
I don't know much about that JavaScript code, I'm afraid, otherwise I would try and help (it's likely we're going to deprecate support for it soon as there's no maintainer for it right now anyway). Take a look through the source code and see if there's something you can call to stop reconnection

[django-channels client wrapper] specifying no reconnection attempts

2018-07-14 Thread bit bouncer
Basically, I don't want the websocket to automatically attempt reconnections after it has been closed by the server. I've tried new WebSocketBridge({maxReconnectAttempts: 1}) and const socket = new WebSocketBridge({maxReconnectAttempts: 1}) socket.connect('/ws/', undefined,