Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
6621daee
Commit
6621daee
authored
8 years ago
by
est31
Browse files
Options
Downloads
Patches
Plain Diff
HTTP lua API docs: correct some function references
parent
d7060c21
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/lua_api.txt
+3
-3
3 additions, 3 deletions
doc/lua_api.txt
with
3 additions
and
3 deletions
doc/lua_api.txt
+
3
−
3
View file @
6621daee
...
...
@@ -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,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment