-
Notifications
You must be signed in to change notification settings - Fork 111
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
Will this support listener to specific event? #69
Comments
What do you mean by "event"? A web socket is a duplex communication channel - it doesn't define anything in terms of "event". The Perhaps you're meaning events like DOM events? In that case you'll want to look at the APIs around |
I guess 'events' here might be 'exceptions'. Such as:
|
connected is the https://api.dartlang.org/stable/2.4.0/dart-html/WebSocket/onOpen.html |
I don't think this package is not intended to expose the low level plumbing - for that use the We do expose at least a little beyond the |
I made an implementation here of this npm wrapper over the IOWebSocketChannel. Implements requests and messages based on events like socket.io |
Specific event listener is necessary in some scenarios. Hope to have it.
The text was updated successfully, but these errors were encountered: