From 8a9bbfa1fdc57914b4d3ff6e7bf4cd3ebafc8369 Mon Sep 17 00:00:00 2001 From: Alba Mendez Date: Sat, 9 Mar 2019 03:58:48 +0100 Subject: [PATCH] Fix README, 'secure' argument no longer used (#31) --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 30d3350..36028ad 100644 --- a/README.md +++ b/README.md @@ -66,8 +66,7 @@ console.log('attempting to GET %j', endpoint); var opts = url.parse(endpoint); // create an instance of the `SocksProxyAgent` class with the proxy server information -// NOTE: the `true` second argument! Means to use TLS encryption on the socket -var agent = new SocksProxyAgent(proxy, true); +var agent = new SocksProxyAgent(proxy); opts.agent = agent; https.get(opts, function (res) {