summaryrefslogtreecommitdiff
path: root/meta/3rd/Defold/library/http.lua
diff options
context:
space:
mode:
authorcarsakiller <carsakiller@gmail.com>2023-10-27 20:42:07 -0400
committercarsakiller <carsakiller@gmail.com>2023-10-27 20:42:07 -0400
commit5c4de8b92476352431fa7383f50800389c27cce3 (patch)
tree4047d838ca62de8e7e3eb16c7cd957751051d703 /meta/3rd/Defold/library/http.lua
parentd288cd1e6d0bb9fd4c05e6afa3e26bb7e0658839 (diff)
downloadlua-language-server-5c4de8b92476352431fa7383f50800389c27cce3.zip
refactor: replace Defold with LuaCATS submodule
Diffstat (limited to 'meta/3rd/Defold/library/http.lua')
m---------meta/3rd/Defold0
-rw-r--r--meta/3rd/Defold/library/http.lua18
2 files changed, 0 insertions, 18 deletions
diff --git a/meta/3rd/Defold b/meta/3rd/Defold
new file mode 160000
+Subproject 05379b40fb3084d82f7270475e42da8d521c4da
diff --git a/meta/3rd/Defold/library/http.lua b/meta/3rd/Defold/library/http.lua
deleted file mode 100644
index 67e7774f..00000000
--- a/meta/3rd/Defold/library/http.lua
+++ /dev/null
@@ -1,18 +0,0 @@
----HTTP API documentation
----Functions for performing HTTP and HTTPS requests.
----@class http
-http = {}
----Perform a HTTP/HTTPS request.
---- If no timeout value is passed, the configuration value "network.http_timeout" is used. If that is not set, the timeout value is 0 (which blocks indefinitely).
----@param url string # target url
----@param method string # HTTP/HTTPS method, e.g. "GET", "PUT", "POST" etc.
----@param callback fun(self: object, id: hash, response: table) # response callback function
----@param headers table? # optional table with custom headers
----@param post_data string? # optional data to send
----@param options table? # optional table with request parameters. Supported entries:
-function http.request(url, method, callback, headers, post_data, options) end
-
-
-
-
-return http \ No newline at end of file