react-native-sse icon indicating copy to clipboard operation
react-native-sse copied to clipboard

Event Source implementation for React Native. Server-Sent Events (SSE) for iOS and Android 🚀

Results 17 react-native-sse issues
Sort by recently updated
recently updated
newest added

Thanks in advance! My usage looks like this. ```javascript es = new EventSource(url, { debug: debug, headers: headers, pollingInterval: 0, // Set pollingInterval to 0 to disable reconnections }) ```...

My application does not receive events in android but it does in ios. We don't have the Flipper java plugign and still in DEBUG mode it is only in [EventSource]...

Hi, in my project we got version 1.1.0 of this package, but that version is not among the releases and thus I cannot follow a changelog. I tried updating to...

when my server restarts this doesn't seem to reestablish my connection, how do I detect that the connection was closed?

As describe in [specification](https://html.spec.whatwg.org/multipage/server-sent-events.html#the-eventsource-interface), the instance of `EventSource` must have methods `onopen`, `onmessage` , `onerror`. This PR will add check in `dispatch` method, to call handlers added as `eventSource.method`.

When the beginning of streaming data is' \ n ', this' \ n' will be added to the regular data push (line. replace (/data:? \ s */, '')); Replaced, resulting...