Skip to content

Commit a3abd52

Browse files
lpincadanielleadams
authored andcommitted
doc: add localPort to http.request() options
PR-URL: #37586 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 852f53e commit a3abd52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/api/http.md

+1
Original file line numberDiff line numberDiff line change
@@ -2795,6 +2795,7 @@ changes:
27952795
avoided. See [`--insecure-http-parser`][] for more information.
27962796
**Default:** `false`
27972797
* `localAddress` {string} Local interface to bind for network connections.
2798+
* `localPort` {number} Local port to connect from.
27982799
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].
27992800
* `maxHeaderSize` {number} Optionally overrides the value of
28002801
[`--max-http-header-size`][] for requests received from the server, i.e.

0 commit comments

Comments
 (0)