RESTResponseV2 - waitForResponse(Number timeoutSecs)

Set the amount of time the instance waits for a response from the web service provider.

This method overrides the property for this REST response.

Table 1. Parameters
Name Type Description
timeoutSecs Number The amount of time, in seconds, to wait for this response.
Table 2. Returns
Type Description
var sm = new sn_ws.RESTMessageV2("Yahoo Finance","get"); //Might throw exception if message doesn't exist or not visible due to scope.
var response = sm.executeAsync();