lib/cfclient.js
function CFClient(config) {
    if (!(config instanceof CFConfig)) {
        throw CFClientException(
            new Error('Given tokens must be an instance of CFConfig'),
            'tokens must be an instance of CFConfig that contains: "protocol", "host", "username", "password", "skipSslValidation');
    }

    this.config = config;
    this.infoData = null;
    this.client = null;
}
function CFClient(config) {
    if (!(config instanceof CFConfig)) {
        throw CFClientException(
            new Error('Given tokens must be an instance of CFConfig'),
            'tokens must be an instance of CFConfig that contains: "protocol", "host", "username", "password", "skipSslValidation');
    }

    this.config = config;
    this.infoData = null;
    this.client = null;
}
function CFClient ( config ) { if ( ! ( config instanceof CFConfig ) ) { throw CFClientException ( new Error ( 'Given tokens must be an instance of CFConfig' ) , 'tokens must be an instance of CFConfig that contains: "protocol", "host", "username", "password", "skipSslValidation' ) ; } this . config = config ; this . infoData = null ; this . client = null ; }
Constructor for the CFClient.

@param {CFConfig} config - configuration as defined in the README.md
Constructor for the CFClient .