sseclient icon indicating copy to clipboard operation
sseclient copied to clipboard

Pure-Python Server Side Events (SSE) client

Results 9 sseclient issues
Sort by recently updated
recently updated
newest added

We are observing that sse client is not receiving any messages from the server. It just hangs unless we restart the client. As soon as the client has been restarted...

What is the best way to restart the sseclient based on the received message?

`Python 3.6.7` `urllib3 1.25.7` `sseclient-py 1.7` When using with urllib3 not get my messages. looks like issue is: https://github.com/mpetazzoni/sseclient/blob/16a29bb43de7ab98e3516a64e2ab421dece8d78d/sseclient/__init__.py#L48 It's never get chunks of data. I track down problem to...

sorry to bother you, I have a question here, if the server side send out event data stream but without (empty new line), then this sseclient will hang there, right?...

python 3.6 requests 2.18.4 sseclient-py 1.7 When using requests library, should use response.iter_content() as event source ``` response = requests.get(url, stream=True, allow_redirects=False, headers={'Accept': 'text/event-stream'}) client = sseclient.SSEClient(response.iter_content()) ```

So this is a curious one - the urllib3 response object inherits io.Base which does provide an iterator over itself, however this iterator doesn't invoke the response object `stream()` method...

Hi, I use SSE to query the events of items from openHAB. I can do this there via the REST API. However, I have a problem with images. If I...

Dear Maxime, I added the feature because I missed it. Maybe you find this suitable and want to merge it. I made this optional to not break existing code. Thank...

It should be possible to receive (keep-alive) comments in the application. This allows to track if the connection is still active and maybe add some shutdown logic.