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 <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
  • Loading branch information
lpinca authored and danielleadams committed Mar 16, 2021
1 parent 852f53e commit a3abd52
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 @@ -2795,6 +2795,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 a3abd52

Please sign in to comment.