These are chat archives for fanout/pushpin

13th
Apr 2017
Francis Eytan Dortort
@dortort
Apr 13 2017 08:32 UTC
How can I subscribe/ unsubscribe a connection async when using over_http?
something like https://fanout.io/docs/protocols.html#subscribing 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
@jkarneges
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/command.py tcp://localhost:5563 refresh '{"cid":"the Connection-Id value"}'