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

Is Unirest supported Server-Sent Events? #525

Open
gzlboy opened this issue May 2, 2024 · 3 comments
Open

Is Unirest supported Server-Sent Events? #525

gzlboy opened this issue May 2, 2024 · 3 comments
Labels
Feature Request Valid feature request to add to the backlog

Comments

@gzlboy
Copy link

gzlboy commented May 2, 2024

Many AI APIs now require SSE calls. Does Unirest support it?

@ryber ryber added the Feature Request Valid feature request to add to the backlog label May 2, 2024
@ryber
Copy link
Collaborator

ryber commented May 2, 2024

Not currently, it does support WebSockets, but not SSE. However there is no reason it cannot support SSE, so I will keep this issue as a feature request.

In the mean time, although I cannot vouch personally for it, this client from Cisco looks like it might be a good option: https://github.com/CiscoSE/commons-networking

@gzlboy
Copy link
Author

gzlboy commented May 6, 2024

Got it, looking forward to this feature, thanks!

@ryber
Copy link
Collaborator

ryber commented Sep 4, 2024

Just putting the link to the spec here so I can stop googling for it https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Valid feature request to add to the backlog
Projects
None yet
Development

No branches or pull requests

2 participants