Is Unirest supported Server-Sent Events?
gzlboy opened this issue · 3 comments
gzlboy commented
Many AI APIs now require SSE calls. Does Unirest support it?
ryber commented
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 commented
Got it, looking forward to this feature, thanks!
ryber commented
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