HTTPApiTable

From Minetest Developer Wiki
Jump to: navigation, search

This article is a stub.



Table of functions used to request files over HTTP, returned by minetest.request_http_api()

Methods

  • fetch([[HTTPRequest]], callback)
    • Performs given request asynchronously and calls callback upon completion
    • callback: `function(HTTPRequestResult)`
    • Use this HTTP function if you are unsure, the others are for advanced use.
  • fetch_async([[HTTPRequest]]) -returns handle
    • Performs given request asynchronously and returns handle for fetch_async_get
  • fetch_async_get(handle): returns HTTPRequestResult
    • Return response data for given asynchronous HTTP request
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox