django-websocket-redis
django-websocket-redis copied to clipboard
Unsubscribe or close
Is there a way to unsubscribe, change channel or close a connection ? Something like:
var ws4redis = WS4Redis({
uri: '{{ WS_URI }}foobar?subscribe-broadcast',
receive_message: receiveMessage,
heartbeat_msg: {{ WS4REDIS_HEARTBEAT }}
});
ws4redis.set_uri('{{ WS_URI }}other_channel?subscribe-broadcast');
ws4redis.close();
No, not yet. This is a valid point!
+1
+1
+1
+1 , but no time :(
+1 is there any workaround? like 'unlinking' the javascript that deals with sockets?
Any PR is welcomed.