SOCKS v5 HTTPS client.
var shttps = ;shttps;
socksPort options if your SOCKS server isn't running on
localhost:1080. Tor runs its SOCKS server on port
9050 by default, for example.
You may also pass a URL as the first argument to
request, which will be parsed using
Works great for making HTTPS requests through Tor.
Make sure a Tor server is running locally and run
node example/tor https://check.torproject.org/ to test.
To use with Request, just pass a reference to the
var Agent = ;;
This client only provides support for making HTTPS requests. See socks5-http-client for an HTTP implementation.