lib/components/proxy.js
function(client, app, sinfos) {
  let item;
  for (let i = 0, l = sinfos.length; i < l; i++) {
    item = sinfos[i];
    if (hasProxy(client, item)) {
      continue;
    }
    client.addProxies(getProxyRecords(app, item));
  }
}
function(client, app, sinfos) {
  let item;
  for (let i = 0, l = sinfos.length; i < l; i++) {
    item = sinfos[i];
    if (hasProxy(client, item)) {
      continue;
    }
    client.addProxies(getProxyRecords(app, item));
  }
}
function ( client , app , sinfos ) { let item ; for ( let i = 0 , l = sinfos . length ; i < l ; i ++ ) { item = sinfos [ i ] ; if ( hasProxy ( client , item ) ) { continue ; } client . addProxies ( getProxyRecords ( app , item ) ) ; } }
Generate proxy for the server infos.

@param  {Object} client rpc client instance
@param  {Object} app    application context
@param  {Array} sinfos server info list
Generate proxy for the server infos .