Skip to content

Commit

Permalink
doc: add localPort to http.request() options
Browse files Browse the repository at this point in the history
PR-URL: #37586
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
  • Loading branch information
lpinca authored and targos committed May 1, 2021
1 parent eea4f3b commit c51a60c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -2386,6 +2386,7 @@ changes:
avoided. See [`--insecure-http-parser`][] for more information.
**Default:** `false`
* `localAddress` {string} Local interface to bind for network connections.
* `localPort` {number} Local port to connect from.
* `lookup` {Function} Custom lookup function. **Default:** [`dns.lookup()`][].
* `maxHeaderSize` {number} Optionally overrides the value of
[`--max-http-header-size`][] for requests received from the server, i.e.
Expand Down

0 comments on commit c51a60c

Please sign in to comment.