Skip to content

There should be a library like this for WebSockets #28

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

Closed
stevenroose opened this issue Jun 5, 2015 · 1 comment
Closed

There should be a library like this for WebSockets #28

stevenroose opened this issue Jun 5, 2015 · 1 comment

Comments

@stevenroose
Copy link

I know this is not exactly the right place to request this feature, but it's a general Dart one that best related to this package.

WebSockets in Dart are hell. There is no unified interface for VM and Browser and it makes it impossible to create packages that work on top of WebSockets (which are platform-agnostic for the remainder of the package).

A library like this that provides a unified interface for both is really great and I think having one for WebSockets (package:websockets f.e.) would be very useful.

@nex3
Copy link
Member

nex3 commented Jun 6, 2015

For future reference, the mailing list a better place for discussions like this.

The http_parser package actually does provide a cross-platform interface for web sockets, although there's not a great way to convert a client-side socket into that interface.

If you think a library that builds on that to create something usable on both client and server would be useful, by all means write one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants