mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user