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
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, thetask.response
needed to also be returned tosocket.onError
Examples have been updated to account for this case