waitForResponse - method of the HttpRequest object
Description:
Allows to suspend execution the requesting server while waiting for an asynchronous send operation to complete.
Syntax:
String waitForResponse(Long timeoutInSeconds)
Parameters:
timeoutInSeconds | (Long) Specifies the number seconds to wait for an asynchronous send operation to complete. |
---|
Example:
JavaScriptVBScriptSelect and copy to clipboard
oReq.waitForResponse(10);
oReq.waitForResponse 10