These are chat archives for fanout/pushpin

27th
Apr 2018
Justin Karneges
@jkarneges
Apr 27 2018 03:05
ah yeah you can't set headers with the standard EventSource object in the browser which seems crazy to me. the usual work around is to pass data using a query param instead. I hadn't seen the containership polyfill, good to know!
you might also be interested in our EventSource wrapper: https://github.com/fanout/reconnecting-eventsource . I think you should be able to pass headers down through it to the containership polyfill
Jaume Sancho
@jsancho
Apr 27 2018 18:09
you might also be interested in our EventSource wrapper: https://github.com/fanout/reconnecting-eventsource
Nice one, will give it a shot! :)