From c51a60cd05c1fa1ff4d45cadc67ccd38cf3eb15e Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 3 Mar 2021 16:35:31 +0100 Subject: [PATCH] doc: add localPort to http.request() options PR-URL: https://github.com/nodejs/node/pull/37586 Reviewed-By: Colin Ihrig Reviewed-By: Benjamin Gruenbaum --- doc/api/http.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http.md b/doc/api/http.md index 8b2ac1c1514d2b..3005158c81f6bc 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -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.