lib/client.js
function Client(name, password) {

    if (!(this instanceof Client)) {
        return new Client(name, password);
    }

    this.name = name || 'RETS-Connector1/2';
    this.password = password || '';

}
function Client(name, password) {

    if (!(this instanceof Client)) {
        return new Client(name, password);
    }

    this.name = name || 'RETS-Connector1/2';
    this.password = password || '';

}
function Client ( name , password ) { if ( ! ( this instanceof Client ) ) { return new Client ( name , password ) ; } this . name = name || 'RETS-Connector1/2' ; this . password = password || '' ; }
Client class encapsulates User Agent instance data.
@param {Object} config
@param {string} config.name - The user agent's name
@param {string} config.password - The user agent's password
Client class encapsulates User Agent instance data .