diff --git a/docs/client.md b/docs/client.md index 3aee7555..ce585b24 100644 --- a/docs/client.md +++ b/docs/client.md @@ -386,7 +386,9 @@ Example: ca: [fs.readFileSync('mycacert.pem')] }; - client.starttls(opts, function(err, res) { + var controls = client.controls; + + client.starttls(opts, controls, function(err, res) { assert.ifError(err); // Client communication now TLS protected