RESTMessageV2 - setMIDServer(String midServer)

Configure the REST message to communicate through a MID Server.

Table 1. Parameters
Name Type Description
midServer String The name of the MID Server to use. Your instance must have an active MID Server with the specified name.
Table 2. Returns
Type Description
void
var sm = new sn_ws.RESTMessageV2("Yahoo Finance","get"); //Might throw exception if message doesn't exist or not visible due to scope.
sm.setMIDServer("mid_server_name");