Software / code / prosody-modules
File
mod_auto156/README.md @ 6320:ebcf612da2b1
mod_http_oauth2: Use numeric for loop instead of ipairs
Pedantic attempted optimization, reducing function calls.
I didn't even measure, only vaguely recall that this is faster in PUC Lua.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 03 Jul 2025 12:14:53 +0200 |
| parent | 6295:394ae117859e |
line wrap: on
line source
This module was meant to help convert the deprecated [XEP-0156] TXT records into JSON format. ```shell $ prosodyctl mod_auto156 example.com [another.example ...] {"links":[{"href":"https://xmpp.example.com/bosh","rel":"urn:xmpp:alt-connections:xbosh"}]} ... ```