code: function _createDataRequest(){
  
      logger.info('Creating data request');
      eventDataPairs = 0;
      const currentSessionData = currentSession.getDictionary();
      serverRequestManager.addDataRequest(currentSessionData);
      
      currentSession = currentSession.getDuplicate();
      lastRequestTime = utils.getUnixTimeInSeconds();
      sessionManager.setSessionCookie();
  
  }
docs: list all the private functions 
  Pushes the stored data till now to request manager, clears the session data
  @memberof DataManager
  @private