These are chat archives for fanout/pushpin

17th
Aug 2016
Dal Hundal
@dalhundal
Aug 17 2016 09:25
This message was deleted
Hi guys - pushpin is cool, I've been trying to figure out whether it's possible to be notified when a HTTP Streaming / Server Sent Events connection is closed? I'd like to have my backend know when a client disconnects from pushpin.
Justin Karneges
@jkarneges
Aug 17 2016 17:40
Hi @dalhundal , what you can do is subscribe the connection to a unique channel, and monitor that channel for unsubscribe
Dal Hundal
@dalhundal
Aug 17 2016 17:42
Aha, clever - will try that out thanks
Justin Karneges
@jkarneges
Aug 17 2016 17:42
easiest way to monitor subscriptions is using the zmq SUB socket. you can run python tools/monitorsubsock.py tcp://localhost:5562 to see what i mean