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
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,
2 matches
Mail list logo