File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ function createServer(opts, requestListener) {
7676 * @property {string } [host] A domain name or IP address of the server to issue the request to.
7777 * @property {string } [hostname] Alias for host.
7878 * @property {boolean } [insecureHTTPParser] Use an insecure HTTP parser that accepts invalid HTTP headers when true.
79+ * @property {boolean } [joinDuplicateHeaders] Multiple header that joined with `,` field line values.
7980 * @property {string } [localAddress] Local interface to bind for network connections.
8081 * @property {number } [localPort] Local port to connect from.
8182 * @property {Function } [lookup] Custom lookup function. Default: dns.lookup().
@@ -88,6 +89,7 @@ function createServer(opts, requestListener) {
8889 * @property {AbortSignal } [signal] An AbortSignal that may be used to abort an ongoing request.
8990 * @property {string } [socketPath] Unix domain socket.
9091 * @property {number } [timeout] A number specifying the socket timeout in milliseconds.
92+ * @property {Array } [uniqueHeaders] A list of request headers that should be sent only once.
9193 */
9294
9395/**
Original file line number Diff line number Diff line change @@ -392,6 +392,7 @@ function request(...args) {
392392 * host?: string;
393393 * hostname?: string;
394394 * insecureHTTPParser?: boolean;
395+ * joinDuplicateHeaders?: boolean;
395396 * localAddress?: string;
396397 * localPort?: number;
397398 * lookup?: Function;
@@ -404,6 +405,7 @@ function request(...args) {
404405 * socketPath?: string;
405406 * timeout?: number;
406407 * signal?: AbortSignal;
408+ * uniqueHeaders?: Array;
407409 * } | string | URL } [options]
408410 * @param {Function } [cb]
409411 * @returns {ClientRequest }
You can’t perform that action at this time.
0 commit comments