diff --git a/README.md b/README.md index de63366..6a1ec35 100755 --- a/README.md +++ b/README.md @@ -166,6 +166,7 @@ const ClamScan = new NodeClam().init({ reloadDb: true, // You want your scans to run slow like with clamscan active: false, // you don't want to use this at all because it's evil bypassTest: true, // Don't check to see if socket is available. You should probably never set this to true. + tls: true, // Connect to clamd over TLS }, preference: 'clamscan' // If clamscan is found and active, it will be used by default }); diff --git a/index.js b/index.js index 23840d8..1a2a374 100755 --- a/index.js +++ b/index.js @@ -106,7 +106,7 @@ class NodeClam { * @param {boolean} [options.clamdscan.reloadDb=false] - If true, will re-load the DB on ever call (slow) * @param {boolean} [options.clamdscan.active=true] - If true, this module will consider using the `clamdscan` binary * @param {boolean} [options.clamdscan.bypassTest=false] - If true, check to see if socket is avaliable - * @param {boolean} [options.clamdscan.tls=false] - If true, connect to a TLS-Termination proxy in from of ClamAV + * @param {boolean} [options.clamdscan.tls=false] - If true, connect to a TLS-Termination proxy in front of ClamAV * @param {object} [options.preference='clamdscan'] - If preferred binary is found and active, it will be used by default * @param {Function} [cb] - Callback method. Prototype: `(err, )` * @returns {Promise} An initated instance of NodeClam