view mod_component_client/README.markdown @ 4520:bd320ec2c2fc

mod_rest: Declare presence priority an integer in -128..127 per RFC6121 util.datamapper doesn't actually understand min/max, but it's informative and the schema could be used to validate the input at some point.
author Kim Alvefur <zash@zash.se>
date Mon, 22 Mar 2021 00:45:10 +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";
}
```