Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Fix README, 'secure' argument no longer used (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mildsunrise authored and TooTallNate committed Mar 9, 2019
1 parent b9f3c7f commit 8a9bbfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8a9bbfa

Please sign in to comment.