httpGet

From GTA Connected
(Redirected from HttpGet)
Jump to: navigation, search

Function Server Only All Games Online and Offline

Server 1.0.0

void httpGet(string url, string postData, function writeCallback, function completedCallback)

Description

The httpGet function is used to perform a HTTP transfer asynchronously.

Parameters

Type Name Presence Default Value Description
string url required n/a The URL to send the HTTP request to.
string postData required n/a The data to send as the body of the HTTP request.
function writeCallback required n/a The scripting function to call when data is written to the connection.
function completedCallback required n/a The scripting function to call when data has been entirely read on the connection.

Returns

Success Returns

Type Description
void This function doesn't return any values on success.

Failure Returns

Type Value
void n/a

Callbacks

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

httpGet