view mod_conversejs/README.markdown @ 2908:5665d14dcc6e

mod_inject_ecaps2: Add Lua 5.1 compatibility by replacing \xHEX with \DECIMAL in strings
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 07 Mar 2018 19:39:52 +0100
parents ed5ad4fd5bdd
children d2d0715f30d9
line wrap: on
line source

---
depends:
- 'mod\_bosh'
- 'mod\_websocket'
provides:
- http
title: 'mod\_conversejs'
---

Introduction
============

This module serves a small snippet of HTML that loads
[Converse.js](https://conversejs.org/), configured to work with the
VirtualHost that it is loaded onto.

Configuration
=============

The module itself has no configuration. It uses
[authentication settings][doc:authentication] to determine whether to
configure Converse.js to use `login` or `anonymous` mode.

It also determines the [BOSH][mod_bosh] and [WebSocket][mod_websocket]
URL automatically, see their respective documentation for how to configure
them.

See Prosodys [HTTP configuration][doc:http] for HTTP related options.