You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there should be a callback that allows the user to determine whether to retry the connection/update the event source.
For example, if the response is a 401 http response, there's no point retrying indefinitely - sample use-case: the URL requires a special authentication query string that needs updating in order for the events to work.
The user should be able to update the url or close the connection and retry it themselves. This functionality is not currently possible.
I believe this is due to the
onError
call here.The
(_)
error is:HttpException: Connection closed while receiving data, uri = http://127.0.0.1/redacted
.The text was updated successfully, but these errors were encountered: