django-websocket-redis icon indicating copy to clipboard operation
django-websocket-redis copied to clipboard

Unsubscribe or close

Open Glideh opened this issue 11 years ago • 7 comments

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();

Glideh avatar Apr 26 '14 09:04 Glideh

No, not yet. This is a valid point!

jrief avatar Apr 26 '14 11:04 jrief

+1

khamaileon avatar Dec 26 '14 10:12 khamaileon

+1

arafiq avatar Feb 23 '15 16:02 arafiq

+1

CPlusPlus17 avatar Feb 23 '15 18:02 CPlusPlus17

+1 , but no time :(

jrief avatar Feb 23 '15 19:02 jrief

+1 is there any workaround? like 'unlinking' the javascript that deals with sockets?

murtraja avatar Sep 07 '15 08:09 murtraja

Any PR is welcomed.

jrief avatar Sep 07 '15 09:09 jrief