diff options
Diffstat (limited to 'meta/3rd/Defold/library/http.lua')
m--------- | meta/3rd/Defold | 0 | ||||
-rw-r--r-- | meta/3rd/Defold/library/http.lua | 18 |
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 |