aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mod_bosh.erl15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mod_bosh.erl b/src/mod_bosh.erl
index f4a717b29..b86a67728 100644
--- a/src/mod_bosh.erl
+++ b/src/mod_bosh.erl
@@ -260,7 +260,20 @@ mod_doc() ->
{cache_life_time,
#{value => "timeout()",
desc =>
- ?T("Same as top-level 'cache_life_time' option, but applied to this module only.")}}]}.
+ ?T("Same as top-level 'cache_life_time' option, but applied to this module only.")}}],
+ example =>
+ ["listen:",
+ " -",
+ " port: 5222",
+ " module: ejabberd_c2s",
+ " -",
+ " port: 5443",
+ " module: ejabberd_http",
+ " request_handlers:",
+ " /bosh: mod_bosh",
+ "",
+ "modules:",
+ " mod_bosh: {}"]}.
%%%----------------------------------------------------------------------
%%% Cache stuff