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

Add example using websockets #56

Open
dmcgowan opened this issue Aug 13, 2014 · 1 comment
Open

Add example using websockets #56

dmcgowan opened this issue Aug 13, 2014 · 1 comment

Comments

@dmcgowan
Copy link
Contributor

Add an example which demonstrates libchan being used over a websocket. Since the spdy protocol is separated from the transport, this should be possible to implement using the existing code.

Relevant to #5

@AdrianRossouw
Copy link

Just to point out to those who read this later:
libchan over websockets is different to libchan in the browser.

Having libchan implementations (say go to node, or go to go) connected to each other via websockets is probably possible today.

Unfortunately the browser is just too different right now for the latter, and the leading JS implementation (node-spdy) seems to have too much of an emphasis on the node part for this to be a completely straight forward port.

It should still be feasible though, but over at jschan we opted to just write a simple msgpack over websocket transport layer for now. Until we can spend the time to iron out the details.

We're also building out AetherBoard, a collaborative whiteboard tool, over this custom transport. It's our hope that when we get the client-side figured out, it will be possible to swap out the server side implementation entirely for this app.

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