Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,9 @@ Example:
ca: [fs.readFileSync('mycacert.pem')]
};

client.starttls(opts, function(err, res) {
var controls = client.controls;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a note about why we are doing this?


client.starttls(opts, controls, function(err, res) {
assert.ifError(err);

// Client communication now TLS protected
Expand Down