Skip to content

Commit a3372f6

Browse files
committed
feat: add idleTimeout for websocket
1 parent cba0050 commit a3372f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export type Key = string | number[] | ArrayBuffer | Uint8Array;
4343

4444
export interface UpgradeWebSocketOptions {
4545
protocol?: string;
46+
idleTimeout?: number;
4647
}
4748

4849
export type UpgradeWebSocketFn = (

0 commit comments

Comments
 (0)