From 8fc9f198585868a22f99e5cf1a5930abfdb99acb 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 --- doc/api/http.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http.md b/doc/api/http.md index aefb4aface569a..67de42b96570db 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -2447,6 +2447,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.