Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

JS client webSockets transport doesn't raise error event when OnReceivedAsync throw in PersistentConnection #1266

Open
Xiaohongt opened this Issue · 0 comments

2 participants

@Xiaohongt
Collaborator

e.g. in PersistentConnection

        protected override Task OnReceivedAsync(IRequest request, string connectionId, string data)
        {
            throw new Exception("error ");
       }

in this case JS client webSockets transport doesn't raise error event , it doesn't handle socket.onerror event, if we add it we can support raise error event in this case.

Note, SSE, foreverFrame and longPolling transports raise error event in this case.

@Xiaohongt Xiaohongt was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.