pepper
pepper copied to clipboard
Add Events Stream
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.
@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.