Skip to content

Commit 9f650d0

Browse files
authored
feat: add idleTimeout for websocket (#702)
Resolve #703
1 parent 51cc817 commit 9f650d0

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
@@ -46,6 +46,7 @@ export type Key = string | number[] | ArrayBuffer | Uint8ArrayArrayBuffer;
4646

4747
export interface UpgradeWebSocketOptions {
4848
protocol?: string;
49+
idleTimeout?: number;
4950
}
5051

5152
export type UpgradeWebSocketFn = (

0 commit comments

Comments
 (0)