lib/driver.js
function (driver, remote, options, deferred, response) {
      this.data = '';
      response.on('data', driver._concatDataChunks.bind(this));
      response.on('end', driver._onResponseEnd.bind(this, driver, response, remote, options, deferred));
      return this;
    }
function (driver, remote, options, deferred, response) {
      this.data = '';
      response.on('data', driver._concatDataChunks.bind(this));
      response.on('end', driver._onResponseEnd.bind(this, driver, response, remote, options, deferred));
      return this;
    }
function ( driver , remote , options , deferred , response ) { this . data = '' ; response . on ( 'data' , driver . _concatDataChunks . bind ( this ) ) ; response . on ( 'end' , driver . _onResponseEnd . bind ( this , driver , response , remote , options , deferred ) ) ; return this ; }
Response callback function

@method _onResponse
@param {DalekJs.Internal.Driver} driver Driver instance
@param {object} remote Dummy request body (function name, url, method)
@param {object} options Request options (method, port, path, headers, etc.)
@param {object} deferred Webdriver command deferred
@param {object} response Response from the webdriver server
@chainable
@private
Response callback function