Skip to content

Commit c51a60c

Browse files
lpincatargos
authored andcommitted
doc: add localPort to http.request() options
PR-URL: #37586 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent eea4f3b commit c51a60c

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
@@ -2386,6 +2386,7 @@ changes:
23862386
avoided. See [`--insecure-http-parser`][] for more information.
23872387
**Default:** `false`
23882388
* `localAddress` {string} Local interface to bind for network connections.
2389+
* `localPort` {number} Local port to connect from.
23892390
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].
23902391
* `maxHeaderSize` {number} Optionally overrides the value of
23912392
[`--max-http-header-size`][] for requests received from the server, i.e.

0 commit comments

Comments
 (0)