Skip to content

1.1.0

Compare
Choose a tag to compare
@ReactiioN1337 ReactiioN1337 released this 18 Nov 16:22
· 5 commits to master since this release
2f21d17

1.1.0 / 2017-11-18

  • 🚀 updated Lua API
    • ✅ httpRequest(server, file, contents[, post][, ssl])

      • server - (string) - The domain or IPv4 (example: raw.githubusercontent.com or 1.3.3.7)
      • file - (string) - The requested file (example: ReactiioN1337/exec-info/master/manifest.json)
      • contents - (string or nil) - The HTTP POST/GET request data (example: ?user=admin)
      • post - (boolean optional) - If true, the request is a HTTP POST
      • ssl - (boolean optional) - If true, the request goes through SSL
      • returns: The response as string if succeeded, false or nil otherwise
    • ✅ executeLuaCode(code)

      • code - (string) - The Lua code (example: 'print(1)'
      • returns: true or false
    • ✅ executeCodeFromGithub(file[, gist])

      • file - (string) - The requested file (example: ReactiioN1337/exec-info/master/manifest.json)
      • gist - (boolean optional) - If true, the requested file is a git-gist-file
      • returns: true or false