From 3320521129c7c335c44f98eac129c1cf3b3d5210 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 24 May 2023 14:56:50 +0200 Subject: 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. --- teal-src/module.d.tl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'teal-src') 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 -- cgit v1.2.3