gcc-rest.js
function(response) {
        var chunks = [];

        response.on('data', function(chunk) {
            chunks.push(chunk);
        });

        response.on('end', function() {
            var json = JSON.parse(chunks.join(''));
            this._showOutputInfo(json);
            this._handleOutput(json);
        }.bind(this));
    }
function(response) {
        var chunks = [];

        response.on('data', function(chunk) {
            chunks.push(chunk);
        });

        response.on('end', function() {
            var json = JSON.parse(chunks.join(''));
            this._showOutputInfo(json);
            this._handleOutput(json);
        }.bind(this));
    }
function ( response ) { var chunks = [ ] ; response . on ( 'data' , function ( chunk ) { chunks . push ( chunk ) ; } ) ; response . on ( 'end' , function ( ) { var json = JSON . parse ( chunks . join ( '' ) ) ; this . _showOutputInfo ( json ) ; this . _handleOutput ( json ) ; } . bind ( this ) ) ; }
Handle a succesful compile request response.
@param {ServerResponse} response
@private
Handle a succesful compile request response .