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

Commit 4338d6c

Browse files
committed
README: remove secureEndpoint docs, add headers
1 parent f2b1080 commit 4338d6c

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
@@ -108,7 +108,7 @@ The `opts` argument may either be a string URI of the proxy server to use, or an
108108
* `host` - String - Proxy host to connect to (may use `hostname` as well). Required.
109109
* `port` - Number - Proxy port to connect to. Required.
110110
* `secureProxy` - Boolean - If `true`, then use TLS to connect to the proxy. Defaults to `false`.
111-
* `secureEndpoint` - Boolean - If `true` then a TLS connection to the endpoint will be established on top of the proxy socket. Defaults to `true`.
111+
* `headers` - Object - Additional HTTP headers to be sent on the HTTP CONNECT method.
112112
* Any other options given are passed to the `net.connect()`/`tls.connect()` functions.
113113

114114

0 commit comments

Comments
 (0)