sseclient
sseclient copied to clipboard
As all the Python world now works on Python 3, I assume that most of the consumers of this library have dropped Python 2. So six is no longer needed.
**Overview** The current algorithm used by this client is to read a certain number of bytes from the response stream until an end of event is detected. At that point...
and how to send my custom Request object to sseclient?
I have an API called post's sse, how can I request it through SSEClient
I'm using the sseclient library on py 3.7.11 and the sse messages are truncated at 2032 characters. This is not the case when accessing the data from other methods. Is...
Idea: Is it possible to wait for a given/ hardcoded custom line ending "end_of_field" vs chunk_size
Hello a newbie question Idea: Is it possible to wait for a given/ hardcoded custom line ending "end_of_field" vs chunk_size for example this one `end_of_field = re.compile(r'\n\n\r\n\x27|\r\n\x27') # \n\n\r\n' or...
Hello, I have seen from your code that to parse the events from the server you are using a for loop. I guess that this mean that the program will...
When reading responses at [self.resp.raw.read](https://github.com/btubbs/sseclient/blob/master/sseclient.py#L76), a [protocol error](https://urllib3.readthedocs.io/en/latest/reference/urllib3.exceptions.html) might occur, for example, when the connection is somehow disturbed. On such an error, we want to retry and connect to the...