diff options
author | est31 <MTest31@outlook.com> | 2016-07-12 22:45:34 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2016-07-12 22:47:14 +0200 |
commit | 6621daee504bbc6755e0240a5515e16f56199197 (patch) | |
tree | 9ee531088abb8251931160039bdd04a55a4f83ed | |
parent | d7060c212f3d9fb9a69719e9041fdef1f5792fef (diff) | |
download | minetest-6621daee504bbc6755e0240a5515e16f56199197.tar.gz minetest-6621daee504bbc6755e0240a5515e16f56199197.tar.bz2 minetest-6621daee504bbc6755e0240a5515e16f56199197.zip |
HTTP lua API docs: correct some function references
-rw-r--r-- | doc/lua_api.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e1077a2bb..1b38aeb6f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2439,7 +2439,7 @@ These functions return the leftover itemstack. * callback: `function(HTTPRequestResult res)` * Use this HTTP function if you are unsure, the others are for advanced use. * `HTTPApiTable.fetch_async(HTTPRequest req)`: returns handle - * Performs given request asynchronously and returns handle for `minetest.http_fetch_async_get` + * Performs given request asynchronously and returns handle for `HTTPApiTable.fetch_async_get` * `HTTPApiTable.fetch_async_get(handle)`: returns HTTPRequestResult * Return response data for given asynchronous HTTP request @@ -4031,7 +4031,7 @@ The Biome API is still in an experimental phase and subject to change. -- ^ Playername is optional, if specified spawns particle only on the player's client } -### `HTTPRequest` definition (`http_fetch`, `http_fetch_async`) +### `HTTPRequest` definition (`HTTPApiTable.fetch_async`, `HTTPApiTable.fetch_async`) { url = "http://example.org", @@ -4051,7 +4051,7 @@ The Biome API is still in an experimental phase and subject to change. -- ^ Optional, if true performs a multipart HTTP request. Default is false. } -### `HTTPRequestResult` definition (`http_fetch` callback, `http_fetch_async_get`) +### `HTTPRequestResult` definition (`HTTPApiTable.fetch` callback, `HTTPApiTable.fetch_async_get`) { completed = true, |