Add HTTPS Lua module.

It can be loaded via https = require("https").
Basic API is responsecode, body = https.request(url).
Slightly more advanced API is responsecode, body, headers = https.request(url, {method="post" or "get", data=str, headers={}}).
This commit is contained in:
Alex Szpakowski
2022-01-30 13:21:33 -04:00
parent f4a85f42df
commit d7522c88af
29 changed files with 2229 additions and 3 deletions
+1
View File
@@ -164,6 +164,7 @@
# define LOVE_ENABLE_ENET
# define LOVE_ENABLE_LUASOCKET
# define LOVE_ENABLE_LUA53
# define LOVE_ENABLE_LUAHTTPS
#endif
// Check we have a sane configuration