Mercurial > prosody-modules
view mod_component_client/README.markdown @ 4478:7ab0c423688a
mod_rest: Support GET for certain IQ queries
Example:
GET /rest/version/example.com
200 OK
{ version: { name: "thing", version: "1.0.0" } }
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Feb 2021 19:33:09 +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"; } ```