These are chat archives for fanout/pushpin

Apr 2017
Francis Eytan Dortort
Apr 13 2017 08:32 UTC
How can I subscribe/ unsubscribe a connection async when using over_http?
something like but on my install there is no /subscribe/ endpoint on the control service
Is there a way to send ws control messages to pushpin without receiving a request? ie. via control service, http or zmq?
Justin Karneges
Apr 13 2017 23:18 UTC
Hi @dortort , you can trigger a websocket-over-http session to make a request to the server by using the "refresh" rpc command via zmq
in which case the http response could contain any necessary control messages
python tools/ tcp://localhost:5563 refresh '{"cid":"the Connection-Id value"}'