Skip to content

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

Merged
dsrees merged 1 commit intomasterfrom
feature/add-url-response-to-error-callback
Feb 24, 2023
Merged

Added URLResponse to socket.onError to check for status codes#226
dsrees merged 1 commit intomasterfrom
feature/add-url-response-to-error-callback

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