diff options
author | Lejo <Lejo_1@web.de> | 2020-07-30 00:16:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 23:16:21 +0200 |
commit | 715a123a33db7b0f191259ba68cbc9c565d0d4e8 (patch) | |
tree | 5925cc93ad339477d58dcea42bcf79b62e2ded5d /src/script/lua_api/l_http.h | |
parent | f34abaedd2b9277c1862cd9b82ca3338747f104e (diff) | |
download | minetest-715a123a33db7b0f191259ba68cbc9c565d0d4e8.tar.gz minetest-715a123a33db7b0f191259ba68cbc9c565d0d4e8.tar.bz2 minetest-715a123a33db7b0f191259ba68cbc9c565d0d4e8.zip |
Add PUT and DELETE request + specific method value to HTTP API (#9909)
Diffstat (limited to 'src/script/lua_api/l_http.h')
-rw-r--r-- | src/script/lua_api/l_http.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/lua_api/l_http.h b/src/script/lua_api/l_http.h index de6e51b37..c3a2a5276 100644 --- a/src/script/lua_api/l_http.h +++ b/src/script/lua_api/l_http.h @@ -32,10 +32,10 @@ private: static void read_http_fetch_request(lua_State *L, HTTPFetchRequest &req); static void push_http_fetch_result(lua_State *L, HTTPFetchResult &res, bool completed = true); - // http_fetch_sync({url=, timeout=, post_data=}) + // http_fetch_sync({url=, timeout=, data=}) static int l_http_fetch_sync(lua_State *L); - // http_fetch_async({url=, timeout=, post_data=}) + // http_fetch_async({url=, timeout=, data=}) static int l_http_fetch_async(lua_State *L); // http_fetch_async_get(handle) |