Annotate
mod_component_client/README.markdown @ 5757:cef8bce2d71b
luacheck: Add new module API methods from trunk
See
* trunk rev 4d4f9e42bcf8
* trunk rev 65fb0d7a2312
* trunk rev c9ef35fab0b1
author |
Kim Alvefur <zash@zash.se> |
date |
Mon, 27 Nov 2023 07:10:06 +0100 |
parent |
2323:35ae59a8196d |
rev |
line source |
2323
|
1 Introduction
|
|
2 ============
|
|
3
|
|
4 This module turns Prosody hosts into components of other XMPP servers.
|
|
5
|
|
6 Configuration
|
|
7 =============
|
|
8
|
|
9 Example configuration:
|
|
10
|
|
11 ``` {.lua}
|
|
12 VirtualHost "component.example.com"
|
|
13 modules_enabled = { "component_client" }
|
|
14 component_client = {
|
|
15 host = "localhost";
|
|
16 port = 5347;
|
|
17 secret = "hunter2";
|
|
18 }
|
|
19 ```
|