comparison mod_websocket.wiki @ 445:8a6190c56c8f

Add note about requirement for LuaBitOp library (thanks Jonathan)
author MWild1@gmail.com
date Fri, 28 Mar 2014 14:26:45 +0000
parents ff097d886420
children
comparison
equal deleted inserted replaced
444:b2ebc4473c4c 445:8a6190c56c8f
10 10
11 There are many JavaScript XMPP libraries capable of utilizing !WebSockets, among them: 11 There are many JavaScript XMPP libraries capable of utilizing !WebSockets, among them:
12 * [https://github.com/sonnyp/lightstring Lightstring] 12 * [https://github.com/sonnyp/lightstring Lightstring]
13 * [https://github.com/strophe/strophejs strophe.js >= 1.1.0] 13 * [https://github.com/strophe/strophejs strophe.js >= 1.1.0]
14 * [https://github.com/legastero/stanza.io stanza.io] 14 * [https://github.com/legastero/stanza.io stanza.io]
15
16 = Installation =
17
18 Installation is the same as any other module. Note that you will need a Lua bit library installed, for example [http://bitop.luajit.org/ LuaBitOp] (`lua-bitop` package in Debian/Ubuntu and `luabitop` in LuaRocks).
15 19
16 = Usage = 20 = Usage =
17 21
18 Simply add {{{"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 perform any XMPP. 22 Simply add {{{"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 perform any XMPP.
19 23