aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-05-24 14:56:50 +0200
committerKim Alvefur <zash@zash.se>2023-05-24 14:56:50 +0200
commit3320521129c7c335c44f98eac129c1cf3b3d5210 (patch)
treeccb940dd06de4bad9bcaaebb48fd362dd3cc83bd /teal-src
parentba878e723028af75e0f93c611f6f4cd9d2d17bf9 (diff)
downloadprosody-3320521129c7c335c44f98eac129c1cf3b3d5210.tar.gz
prosody-3320521129c7c335c44f98eac129c1cf3b3d5210.zip
teal: Describe http_url method
It is not part of the "real" module API, but used in various places. Extending the API seems hard to describe in a type-safe way.
Diffstat (limited to 'teal-src')
-rw-r--r--teal-src/module.d.tl3
1 files changed, 3 insertions, 0 deletions
diff --git a/teal-src/module.d.tl b/teal-src/module.d.tl
index 312dc227..142596f2 100644
--- a/teal-src/module.d.tl
+++ b/teal-src/module.d.tl
@@ -138,6 +138,9 @@ global record moduleapi
save : function () : any
restore : function (any)
unload : function ()
+
+ -- added by mod_http
+ http_url : function (moduleapi, string, string, string) : string
end
global module : moduleapi