Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.

Commit c17ccdc

Browse files
stoicallyTooTallNate
authored andcommitted
Update README with actual secureProxy behavior (TooTallNate#65)
1 parent e145714 commit c17ccdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The `options` argument may either be a string URI of the proxy server to use, or
103103

104104
* `host` - String - Proxy host to connect to (may use `hostname` as well). Required.
105105
* `port` - Number - Proxy port to connect to. Required.
106-
* `secureProxy` - Boolean - If `true`, then use TLS to connect to the proxy. Defaults to `false`.
106+
* `protocol` - String - If `https:`, then use TLS to connect to the proxy.
107107
* `headers` - Object - Additional HTTP headers to be sent on the HTTP CONNECT method.
108108
* Any other options given are passed to the `net.connect()`/`tls.connect()` functions.
109109

0 commit comments

Comments
 (0)