view mod_component_client/README.markdown @ 3223:9a89ec5030b5

mod_auth_http_cookie: Try to get HTTP request from array on BOSH sessions This looks like a cleaner way. `session.requests` appears to have been around a longer time than `_http_open_response`.
author Kim Alvefur <zash@zash.se>
date Fri, 10 Aug 2018 06:10:38 +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";
}
```