lib/cfclient.js
function CFConfig(config) {
    const cf = this;
    extend(extend(cf, {
        protocol: 'http',
        host: 'api.bosh-lite.com',
        //port : null, // omitted to let it be based on config or protocol
        username: 'admin',
        password: 'admin',
        skipSslValidation: false
    }), config);

    cf.port = calculatePort(cf.port, cf.protocol);
    if (cf.skipSslValidation instanceof String) {
        cf.skipSslValidation = ('true' === cf.skipSslValidation);
    }
}
function CFConfig(config) {
    const cf = this;
    extend(extend(cf, {
        protocol: 'http',
        host: 'api.bosh-lite.com',
        //port : null, // omitted to let it be based on config or protocol
        username: 'admin',
        password: 'admin',
        skipSslValidation: false
    }), config);

    cf.port = calculatePort(cf.port, cf.protocol);
    if (cf.skipSslValidation instanceof String) {
        cf.skipSslValidation = ('true' === cf.skipSslValidation);
    }
}
function CFConfig ( config ) { const cf = this ; extend ( extend ( cf , { protocol : 'http' , host : 'api.bosh-lite.com' , //port : null, // omitted to let it be based on config or protocol
 username : 'admin' , password : 'admin' , skipSslValidation : false } ) , config ) ; cf . port = calculatePort ( cf . port , cf . protocol ) ; if ( cf . skipSslValidation instanceof String ) { cf . skipSslValidation = ( 'true' === cf . skipSslValidation ) ; } }
Object that helps to manage the configuration options.

@param {Object} config values
properties are:
<ul>
<li><b>protocol</b> 'http' or 'https'</li>
<li><b>host</b> FQDN or IP (e.g. api.mydomain.com)</li>
<li><b>username</b> username for the CF API</li>
<li><b>password</b> password for the given username</li>
<li><b>skipSslValidation</b> enable for self-signed certs</li>
</ul>
Object that helps to manage the configuration options .