pepper icon indicating copy to clipboard operation
pepper copied to clipboard

Add Events Stream

Open AstraLuma opened this issue 8 years ago • 1 comments

Add a method to stream events (from /events or /ws).

I would suggest that this be a generator.

This needs to be a new method because while you need the authentication buried in the existing implementation, the response must be processed differently.

AstraLuma avatar Jul 31 '17 20:07 AstraLuma

@astronouth7303, I opened a PR for a new function that could solve your problem. I used this together with https://github.com/mpetazzoni/sseclient to listen to the event bus.

BenjaminSchiborr avatar Aug 03 '17 19:08 BenjaminSchiborr