File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1971,7 +1971,10 @@ changes:
1971
1971
* ` family ` {number} IP address family to use when resolving ` host ` or
1972
1972
` hostname ` . Valid values are ` 4 ` or ` 6 ` . When unspecified, both IP v4 and
1973
1973
v6 will be used.
1974
- * ` port ` {number} Port of remote server. ** Default:** ` 80 ` .
1974
+ * ` defaultPort ` {number} Default port for the protocol. ** Default:**
1975
+ ` agent.defaultPort ` if an ` Agent ` is used, else ` undefined ` .
1976
+ * ` port ` {number} Port of remote server. ** Default:** ` defaultPort ` if set,
1977
+ else ` 80 ` .
1975
1978
* ` localAddress ` {string} Local interface to bind for network connections.
1976
1979
* ` socketPath ` {string} Unix Domain Socket (cannot be used if one of ` host `
1977
1980
or ` port ` is specified, those specify a TCP Socket).
You can’t perform that action at this time.
0 commit comments