view mod_component_client/README.markdown @ 2908:5665d14dcc6e

mod_inject_ecaps2: Add Lua 5.1 compatibility by replacing \xHEX with \DECIMAL in strings
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 07 Mar 2018 19:39:52 +0100
parents 35ae59a8196d
children
line wrap: on
line source

Introduction
============

This module turns Prosody hosts into components of other XMPP servers.

Configuration
=============

Example configuration:

``` {.lua}
VirtualHost "component.example.com"
modules_enabled = { "component_client" }
component_client = {
    host = "localhost";
    port = 5347;
    secret = "hunter2";
}
```