lib/request.js
function Request(options) {
    options = options || {};
    this._server = options.server || '';
    this._path = options.path || '';
    this._json = options.json || false;
    this._data = options.data || {};
    this._auth = options.auth || null;
    this._file = options.file || null;
    this._method = options.method || 'post';
}
function Request(options) {
    options = options || {};
    this._server = options.server || '';
    this._path = options.path || '';
    this._json = options.json || false;
    this._data = options.data || {};
    this._auth = options.auth || null;
    this._file = options.file || null;
    this._method = options.method || 'post';
}
function Request ( options ) { options = options || { } ; this . _server = options . server || '' ; this . _path = options . path || '' ; this . _json = options . json || false ; this . _data = options . data || { } ; this . _auth = options . auth || null ; this . _file = options . file || null ; this . _method = options . method || 'post' ; }
single request to the server
@param {Object}                 [options]
@param {String}                 [options.server]
@param {String}                 [options.path]
@param {Boolean}                [options.json]
@param {Object}                 [options.data]
@param {AuthenticationAbstract} [options.auth]
@param {String}                 [options.file]
single request to the server