1 parent 28c7d6b commit a509cefCopy full SHA for a509cef
1 file changed
README.md
@@ -72,7 +72,7 @@ console.log('attempting to connect to WebSocket %j', endpoint);
72
// create an instance of the `HttpsProxyAgent` class with the proxy server information
73
var opts = url.parse(proxy);
74
75
-// IMPORTANT! Set the `secureEndpoint` property to `false` when connecting
+// IMPORTANT! Set the `secureEndpoint` option to `false` when connecting
76
// over "ws://", but `true` when connecting over "wss://"
77
opts.secureEndpoint = parsed.protocol && parsed.protocol == 'wss:';
78
0 commit comments