From a3372f6c4162033c211771fa1d0d57c9688891f1 Mon Sep 17 00:00:00 2001 From: 0yuki <147019313+Aoyukiii@users.noreply.github.com> Date: Thu, 4 Sep 2025 21:36:13 +0800 Subject: [PATCH] feat: add idleTimeout for websocket --- types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types.ts b/types.ts index f9f0314a..7bd3f7ac 100644 --- a/types.ts +++ b/types.ts @@ -43,6 +43,7 @@ export type Key = string | number[] | ArrayBuffer | Uint8Array; export interface UpgradeWebSocketOptions { protocol?: string; + idleTimeout?: number; } export type UpgradeWebSocketFn = (