Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Server Side events #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rosspatil
Copy link
Contributor

@rosspatil rosspatil commented Jul 30, 2024

Fix: #180
This PR will add support for server side events in order to stream the data. It checks the content-type header and if the value is text/event-stream, it will start streaming the data.
For SSE, we need to pass the data in array format and the server will stream each object in 2 sec interval.

@rosspatil rosspatil marked this pull request as ready for review July 30, 2024 09:39
@rosspatil
Copy link
Contributor Author

hey @jmartin82 ,

What do you think about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Server Side Events
1 participant