SOCKS5 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.
Username and password authentication is supported with the
You may also pass a URL as the first argument to
request, which will be parsed using
Using with Tor
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.
Using with Request
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.