js/dataManager/dataManager.js
function _createDataRequest(){

    logger.info('Creating data request');
    eventDataPairs = 0;
    const currentSessionData = currentSession.getDictionary();
    serverRequestManager.addDataRequest(currentSessionData);
    
    currentSession = currentSession.getDuplicate();
    lastRequestTime = utils.getUnixTimeInSeconds();
    sessionManager.setSessionCookie();

}
function _createDataRequest(){

    logger.info('Creating data request');
    eventDataPairs = 0;
    const currentSessionData = currentSession.getDictionary();
    serverRequestManager.addDataRequest(currentSessionData);
    
    currentSession = currentSession.getDuplicate();
    lastRequestTime = utils.getUnixTimeInSeconds();
    sessionManager.setSessionCookie();

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