view mod_component_client/README.markdown @ 4726:611bc06c4160

mod_rest: Add mapping for XEP-0215: External Service Discovery Enough to query and retrieve services.
author Kim Alvefur <zash@zash.se>
date Tue, 26 Oct 2021 17:52:15 +0200
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";
}
```