Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

Part of StarfallEx namespace

๐Ÿ”— External
http.get(url, callbackSuccess, callbackFail, headers)
View on GitHub|lua/starfall/libs_sh/http.lua:67
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Runs a new http GET request

Parameters

NameTypeDescription
urlstringHTTP resource URL
callbackSuccessfunctionThe function to be called on request success, taking the arguments body (string), length (number), headers (table) and code (number)
callbackFail?functionThe function to be called on request fail, taking the failing reason as an argument
headers?tableGET headers to be sent

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.