mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: add localPort to http.request() options
PR-URL: https://github.com/nodejs/node/pull/37586 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
1 parent
852f53ed7e
commit
a3abd52e1e
1 file changed
+1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user