comparison mod_json_streams.wiki @ 174:c87bea8ab41a

mod_json_streams: Some tweaks and fixes.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 02 Apr 2011 05:01:01 +0500
parents e613d82d097a
children 01fb5e97f22b
comparison
equal deleted inserted replaced
173:e613d82d097a 174:c87bea8ab41a
5 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]. 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 7
8 Simply loading this modules makes Prosody accept JSON for C2S streams (legacy XML clients are still supported). 8 Simply loading this modules makes Prosody accept JSON for C2S streams (legacy XML clients are still supported).
9 9
10 For BOSH, it requires mod_bosh be loaded, and JSON should be directed to the '/jsonstreams' HTTP path. 10 For BOSH, it requires mod_bosh be loaded, and JSON should be directed to the `/jsonstreams` HTTP path.
11 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). 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 13
14 = Configuration = 14 = Configuration =
15 Just add json_streams in your global modules_enabled list, for example: 15 Just add `"json_streams"` in your config's global `modules_enabled` list, for example:
16 16
17 {{{ 17 {{{
18 modules_enabled = { 18 modules_enabled = {
19 ... 19 ...
20 "json_streams"; 20 "json_streams";
24 = Compatibility = 24 = Compatibility =
25 ||0.8||Works|| 25 ||0.8||Works||
26 ||trunk||Works|| 26 ||trunk||Works||
27 27
28 = Quirks = 28 = Quirks =
29 * This plugin does not work with TCP port multiplexing. 29 * This plugin does not currently work with Prosody's [http://prosody.im/doc/port_multiplexing port multiplexing] feature.