Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added URLResponse to socket.onError to check for status codes #226

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

dsrees
Copy link
Collaborator

@dsrees dsrees commented Feb 24, 2023

Closes #225

The current onError handler only returns information regarding client-side errors when connecting a socket. In order to get an indepth look as to why a Server might have declined the connection, the task.response needed to also be returned to socket.onError

Examples have been updated to account for this case

@dsrees dsrees merged commit 0817efe into master Feb 24, 2023
@dsrees dsrees deleted the feature/add-url-response-to-error-callback branch February 24, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant