ntex-rs/ntex

SSE integration

GPeaky opened this issue · 6 comments

GPeaky commented

Hi, ntex have support for Server Side Events? and if it's not is there any plan of implement it?

GPeaky commented

Or Http2 Streams (sorry i am a noob 😞)

leon3s commented

Hey yes, both are supported I believe for SSE you can look at here

sse does not require any specific implementation

http2 streams are supported as well

GPeaky commented

Is there any example of streams? SSE only supports text and i need to send binary data. And thanks for the response :)

same example as for sse, just change response content-type and make sure you connects with http2 client