Easy WebSocket - WebSocket Client to Broadcast Messages to Webpages
You want to use websockets ? You want to broadcast messages to all connected clients ? You don’t want to worry about browser compatiblity ? You don’t want to set up a server ? Here’s all the code you need.
EasyWebSocket is simple websockets broadcasting. It is perfect for a quick prototype, getting it going quick. 90% this is all you need if you’re doing websocket something. The API is copied on the WebScocket standard API, thus compatible and easy to learn. TO implement Easy WebSocket is pretty simple. First You have to connect the socket to given url, then every time you send () thru this socket is sent to all sockets connected to the same url.
EasyWebSocket is written by Jerome Etienne. The code is available on github at EasyWebSocket under MIT license.
Requirements: HTML5 support browser
Demo: http://easywebsocket.org/contrib/chat
License: MIT License