Skip to content
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

Stream-like websock.js #4

Open
ishitatsuyuki opened this issue Jul 13, 2017 · 3 comments
Open

Stream-like websock.js #4

ishitatsuyuki opened this issue Jul 13, 2017 · 3 comments

Comments

@ishitatsuyuki
Copy link

To maximize Node.js socket based application's portability to browser, I would like to see an identical interface between sockets. The current websock.js interface is somewhat messed up, and I think it's sufficient to only expose the traditional read-write interface only instead of the complicated queues, as the other end would be using websockify proxy and it's nothing more than a classic socket.

There's a reference implementation for the sockets interface itself, and we should be possible to implement it with minimal effort.

@kanaka
Copy link
Member

kanaka commented Jul 13, 2017

I can't speak for the rest of the team, but I we would be happy to consider a Streams API implementation that people could use as an alternate browser interface (i.e. choose websock.js or streams.js) to communicate with websockify.

@ishitatsuyuki are you planning to implement this? I don't think anybody on the team has the time or use-case for this so it would need to come from outside the team.

@ishitatsuyuki
Copy link
Author

I'm willing to do this, although it may take some time. Thanks for your information.

@samhed samhed transferred this issue from novnc/websockify Jul 12, 2019
@jimmywarting
Copy link

whatwg streams for frontend and node streams for backend?

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

3 participants