Annotate
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 |
| rev |
line source |
|
6295
|
1 This module was meant to help convert the deprecated [XEP-0156] TXT records into JSON format.
|
|
|
2
|
|
|
3 ```shell
|
|
|
4 $ prosodyctl mod_auto156 example.com [another.example ...]
|
|
|
5 {"links":[{"href":"https://xmpp.example.com/bosh","rel":"urn:xmpp:alt-connections:xbosh"}]}
|
|
|
6 ...
|
|
|
7 ```
|