updateRequest(requestObj, tab) {
    log.debug('[RemoteApi] Updating tab request', tab);
    return this.getActiveWindow()
    .then((win) => {
      log.debug('Updating request in active window. Update tab is', tab);
      win.webContents.send('request-action', 'update-request', requestObj, tab);
    });
  }
/**
   * Allows to update a request object in active window and specific tab.
   * By defaulty currently selected tab is used.
   * If there's no winowd new one is be created. If any window isn't focused
   * first window is used.
   *
   * @param {Object} requestObj ARC request object
   * @param {?Number} tab Tab index in the window.
   * @return {Promise} Promise resolved when the command was sent to the window.
   */
Allows to update a request object in active window and specific tab.
By defaulty currently selected tab is used.
If there's no winowd new one is be created. If any window isn't focused
first window is used.

@param {Object} requestObj ARC request object
@param {?Number} tab Tab index in the window.
@return {Promise} Promise resolved when the command was sent to the window.
Allows to update a request object in active window and specific tab . By defaulty currently selected tab is used . If there ' s no winowd new one is be created . If any window isn ' t focused first window is used . @param { Object } requestObj ARC request object @param { ?Number } tab Tab index in the window . @return { Promise } Promise resolved when the command was sent to the window .
updateRequest(requestObj, tab) {
    log.debug('[RemoteApi] Updating tab request', tab);
    return this.getActiveWindow()
    .then((win) => {
      log.debug('Updating request in active window. Update tab is', tab);
      win.webContents.send('request-action', 'update-request', requestObj, tab);
    });
  }
updateRequest ( requestObj , tab ) { log . debug ( '[RemoteApi] Updating tab request' , tab ) ; return this . getActiveWindow ( ) . then ( ( win ) => { log . debug ( 'Updating request in active window. Update tab is' , tab ) ; win . webContents . send ( 'request-action' , 'update-request' , requestObj , tab ) ; } ) ; }
Allows to update a request object in active window and specific tab.
Allows to update a request object in active window and specific tab .