Changeset

13109:5469045ef7f0

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.
author Kim Alvefur <zash@zash.se>
date Wed, 24 May 2023 14:56:50 +0200
parents 13108:6cd768e6ac7c
children 13111:8576f94ac90a
files teal-src/module.d.tl
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/teal-src/module.d.tl	Wed May 24 14:49:29 2023 +0200
+++ b/teal-src/module.d.tl	Wed May 24 14:56:50 2023 +0200
@@ -138,6 +138,9 @@
 	save : function () : any
 	restore : function (any)
 	unload : function ()
+
+	-- added by mod_http
+	http_url : function (moduleapi, string, string, string) : string
 end
 
 global module : moduleapi