view mod_component_client/README.markdown @ 2597:805fa6ca062b

luacheckrc: List all module API methods (reqires luacheck 1.19)
author Kim Alvefur <zash@zash.se>
date Mon, 06 Mar 2017 00:43:06 +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";
}
```