binaryminds / react-native-sse

Event Source implementation for React Native. Server-Sent Events (SSE) for iOS and Android 🚀
https://www.npmjs.com/package/react-native-sse
MIT License
174 stars 27 forks source link

HTTP/2 support? #59

Open treyshedrick opened 1 week ago

treyshedrick commented 1 week ago

I notice a cap of about 6 connections when subscribing to events. Does this library support http/2 in anyway?

EmilJunker commented 1 week ago

This library uses standard XMLHttpRequests to make connections. So as long as the server supports HTTP/2, it should work.