From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +0800
Subject: [PATCH] 推送
---
node_modules/undici-types/client.d.ts | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/node_modules/undici-types/client.d.ts b/node_modules/undici-types/client.d.ts
index bd1a32c..f5ccde2 100644
--- a/node_modules/undici-types/client.d.ts
+++ b/node_modules/undici-types/client.d.ts
@@ -1,4 +1,4 @@
-import { URL } from 'url'
+import { URL } from 'node:url'
import Dispatcher from './dispatcher'
import buildConnector from './connector'
import TClientStats from './client-stats'
@@ -92,6 +92,16 @@
* @default 100
*/
maxConcurrentStreams?: number;
+ /**
+ * @description Sets the HTTP/2 stream-level flow-control window size (SETTINGS_INITIAL_WINDOW_SIZE).
+ * @default 262144
+ */
+ initialWindowSize?: number;
+ /**
+ * @description Sets the HTTP/2 connection-level flow-control window size (ClientHttp2Session.setLocalWindowSize).
+ * @default 524288
+ */
+ connectionWindowSize?: number;
}
export interface SocketInfo {
localAddress?: string
--
Gitblit v1.9.3