Mercurial > prosody-wiki
comparison mod_json_streams.wiki @ 173:e613d82d097a
mod_json_streams: Some documentation.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 02 Apr 2011 04:52:38 +0500 |
parents | |
children | c87bea8ab41a |
comparison
equal
deleted
inserted
replaced
172:5bbdbce10b0a | 173:e613d82d097a |
---|---|
1 #summary JSON Encodings for XMPP | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
6 This plugin encodes XMPP as JSON. This is an implementation of [http://xmpp.org/extensions/xep-0295.html XEP-0295: JSON Encodings for XMPP]. | |
7 | |
8 Simply loading this modules makes Prosody accept JSON for C2S streams (legacy XML clients are still supported). | |
9 | |
10 For BOSH, it requires mod_bosh be loaded, and JSON should be directed to the '/jsonstreams' HTTP path. | |
11 | |
12 JSON for S2S isn't supported due to the lack of a discovery mechanism, so we have left that disabled to stay compatible with legacy XML servers). | |
13 | |
14 = Configuration = | |
15 Just add json_streams in your global modules_enabled list, for example: | |
16 | |
17 {{{ | |
18 modules_enabled = { | |
19 ... | |
20 "json_streams"; | |
21 } | |
22 }}} | |
23 | |
24 = Compatibility = | |
25 ||0.8||Works|| | |
26 ||trunk||Works|| | |
27 | |
28 = Quirks = | |
29 * This plugin does not work with TCP port multiplexing. |