[Fwd: WebSocket implementation in SVN now]
"Trustin Lee (이희승)"
trustin at gmail.com
Fri Jan 8 03:58:10 EST 2010
Forwarding because non-developers might also be interested in this cool
feature. Feed back appreciated. :)
-------- Original Message --------
From: "Trustin Lee (이희승)" <trustin at gmail.com>
Subject: WebSocket implementation in SVN now
Date: Fri, 08 Jan 2010 17:57:16 +0900
To: Netty Developers <netty-dev at lists.jboss.org>
Hi folks,
I've just checked in the initial implementation of WebSocket frame
codec, which is based on Mike Heath's patch. (Thanks Mike!) It means
now you can write a WebSocket client / server on top of Netty quite easily.
The example server implementation is also available:
http://is.gd/5TUhu
The code is somewhat verbose because the server is supposed to serve the
example HTML page at the same time.
To run the example, launch the WebSocketServer and open
http://localhost:8080/ in your WebSocket-capable browser such as Chrome.
You will see an input field and a button. Clicking the button will
send the text in the input field and the server will respond with the
uppercased text.
Please note that this is just an initial check-in. I will add more
documentation and some utility class that simplifies the handshake
process.
Have fun, and please let me know what could be improved! :)
Cheers,
Trustin
--
what we call human nature in actuality is human habit
http://gleamynode.net/
--
what we call human nature in actuality is human habit
http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20100108/b608004b/attachment.bin
More information about the netty-users
mailing list