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

Doesn't work with Cowboy #2

Open
ngocdaothanh opened this issue Apr 14, 2012 · 3 comments
Open

Doesn't work with Cowboy #2

ngocdaothanh opened this issue Apr 14, 2012 · 3 comments
Labels

Comments

@ngocdaothanh
Copy link

Cowboy: https://github.com/extend/cowboy
What version of WebSocket does websocket-sharp support?

websocket-sharp does work with Netty: https://github.com/netty/netty

@sta
Copy link
Owner

sta commented Apr 14, 2012

Hi.

websocket-sharp supports draft-ietf-hybi-thewebsocketprotocol-00 (hybi-00).
On branch:draft75 supports older draft-hixie-thewebsocketprotocol-75 (hixie-75).

Although the support to RFC 6455 is considered, it is still undecided.

@ngocdaothanh
Copy link
Author

Cowboy says "Supports the protocol version 0 (hixie-76), version 7 (hybi-7) and version 8 (hybi-8, hybi-9 and hybi-10)"
(https://github.com/extend/cowboy/blob/master/src/cowboy_http_websocket.erl)

So currently websocket-sharp and Cowboy should work OK together?

@sta
Copy link
Owner

sta commented Apr 14, 2012

If version 0 (hixie-76) is the same as hybi-00, I think that websocket-sharp works with Cowboy.
I did based on the WebSocket protocol hybi-00 specification(http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-00) and implemented websocket-sharp.

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

No branches or pull requests

2 participants