Mercurial > prosody-wiki
view mod_websocket.wiki @ 300:2dc7d6aab48e
mod_vjud: Add config example of running as a component
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 09 Aug 2012 20:42:22 +0200 |
parents | a61452a7f698 |
children | e6cc6bf08560 |
line wrap: on
line source
#summary Simple XMPP-over-websocket support #labels Stage-Alpha = Introduction = [http://en.wikipedia.org/wiki/Web_Sockets Web Sockets] is a new protocol for providing web pages with simple two-way communication with a web server. In our case it is interesting to tunnel XMPP over web sockets, as an alternative to e.g. BOSH, web sockets having less overhead. Note that the Web Socket specification has not been finalized, and is still evolving. There are currently no XMPP libraries capable of Web Sockets, but a good candidate for initial support is [http://code.stanziq.com/strophe/ Strophe.js]. = Usage = Simply add mod_websocket to your modules_enabled list, as you would any other module. The repository includes a demo websocket.html file to show connecting to the socket. It doesn't yet perform any XMPP (see above comment about Strophe). = Compatibility = ||0.7||Works|| ||0.6||Not supported||