Mercurial > prosody-modules
view mod_component_client/README.markdown @ 3814:0dede5b0ab27
mod_rest: Fix return status when sending and forgetting
Turns out module:send() doesn't return anything, so there's no way to
know if it was routed successfully.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Jan 2020 16:35:55 +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"; } ```