The server now sends regular ping requests to keep connections alive
This commit is contained in:
parent
49a0125f88
commit
d098a1b8db
2 changed files with 35 additions and 12 deletions
|
@ -19,6 +19,7 @@ export interface ExSocketInterface extends WebSocket, Identificable {
|
|||
emitInBatch: (payload: SubMessage) => void;
|
||||
batchedMessages: BatchMessage;
|
||||
batchTimeout: NodeJS.Timeout|null;
|
||||
pingTimeout: NodeJS.Timeout|null;
|
||||
disconnecting: boolean,
|
||||
tags: string[]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue