These are chat archives for fanout/pushpin
streamexample given in documentation working using the curl method. However, it is not clear how to receive the pushed data in the browser. I tried Ajax, but that does not work. Do I have to use SSE or Websockets to receive data when client visits using a browser (instead of curl)? From the documentation it appears to me that http streaming is different from SSE or Websockets; but I could not find out about it on Google and how to receive the data from the http Stream in a browser. I should note that I did not try publishing to the channel using the post request on 5561. Instead, I used the command line tool
pushpin-publish yourchannel "event: message"$'\n'"data: hello world"$'\n'
text/event-streamand the initial body is empty (or contains initial data in SSE format), then publish like this: