react-native-event-source
react-native-event-source copied to clipboard
Add support of connection error event
When server response with 401 status code we can catch this event and show "wrong credentials" message to user instead of unlimited tries of reconnections.