Modern Lua Plugins: fix errors in mods/lord/Core/http. LG-1980
This commit is contained in:
@@ -11,16 +11,16 @@ local HTTPApiTable = {}
|
||||
---
|
||||
--- @param request HTTPRequest
|
||||
--- @param callback fun(result:HTTPRequestResult)
|
||||
function HTTPApiTable:fetch(request, callback) end
|
||||
function HTTPApiTable.fetch(request, callback) end
|
||||
|
||||
--- Performs given request asynchronously and returns handle for `HTTPApiTable.fetch_async_get()`.
|
||||
---
|
||||
--- @param request HTTPRequest
|
||||
--- @return HTTPRequestHandle
|
||||
function HTTPApiTable:fetch_async(request) end
|
||||
function HTTPApiTable.fetch_async(request) end
|
||||
--- Return response data for given asynchronous HTTP request.
|
||||
---
|
||||
--- @param handle HTTPRequestHandle
|
||||
--- @return HTTPRequestResult
|
||||
function HTTPApiTable:fetch_async_get(handle) end
|
||||
function HTTPApiTable.fetch_async_get(handle) end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user