:: Home >>

request

Sends the request.

This method sends the request to the server and should be executed after setting request URL and all request parameters. The request can be sent synchronously or asynchronously depending on async property. When the request is completed the object calls response() method.

Syntax

obj.request();

Examples

var req = new AW.HTTP.Request;
req.setURL('<url>');
req.response = function(text) {
    alert(text); // do something with response here
};
req.request();

See also

async property, response method (callback)

Comments

No comments yet.
Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.5.0 - 2.5.5
2.5.5
2.5.0 - 2.5.4
2.5.4
2.5.0 - 2.5.3
2.5.3
2.5.0 - 2.5.2
2.5.2
2.5, 2.5.1
2.5.1