mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
lib: update params in jsdoc for HTTPRequestOptions
PR-URL: https://github.com/nodejs/node/pull/49872 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
1 parent
c935d4c8fa
commit
6aa7101960
2 files changed
+4
No files matched your search
@@ -392,6 +392,7 @@ function request(...args) {
|
||||
* host?: string;
|
||||
* hostname?: string;
|
||||
* insecureHTTPParser?: boolean;
|
||||
* joinDuplicateHeaders?: boolean;
|
||||
* localAddress?: string;
|
||||
* localPort?: number;
|
||||
* lookup?: Function;
|
||||
@@ -404,6 +405,7 @@ function request(...args) {
|
||||
* socketPath?: string;
|
||||
* timeout?: number;
|
||||
* signal?: AbortSignal;
|
||||
* uniqueHeaders?: Array;
|
||||
* } | string | URL} [options]
|
||||
* @param {Function} [cb]
|
||||
* @returns {ClientRequest}
|
||||
|
||||
Reference in new issue
Block a user