How do I make http = minetest.request_http_api() make only usable by my mod?
If I use local http = minetest.request_http_api() I can use it in the init.lua file, but not in a file executed by dofile(). :-(
If I use mymod = {}; mymod.http = minetest.request_http_api(), I can use it in init.lua any file used by dofile, but it can also executed by any other mod. :-(
Is there a way to make a variable private, so that they can used by all files of the mod, but is not available globally?