mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
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.
This commit is contained in:
parent
ba878e7230
commit
3320521129
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue