RESTMessageV2 - setHttpTimeout(Number timeoutMs)

Set the amount of time the REST message waits for a response from the web service provider before the request times out.

Table 1. Parameters
Name Type Description
timeoutMs Number The amount of time, in milliseconds, before the call to the REST provider times out.
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.