@resolveio/client-lib-core 15.4.0 → 15.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/socket.service.d.ts
CHANGED
|
@@ -17,6 +17,9 @@ export declare class SocketService {
|
|
|
17
17
|
private pongTimeout;
|
|
18
18
|
private pingIntervalTime;
|
|
19
19
|
private pongTimeoutTime;
|
|
20
|
+
private lastActivity;
|
|
21
|
+
private missedPongs;
|
|
22
|
+
private maxMissedPongs;
|
|
20
23
|
onopen: (ev: Event) => void;
|
|
21
24
|
onclose: (ev: CloseEvent) => void;
|
|
22
25
|
onconnecting: () => void;
|
|
@@ -30,6 +33,10 @@ export declare class SocketService {
|
|
|
30
33
|
private onErrorHandler;
|
|
31
34
|
private connect;
|
|
32
35
|
private convertUTCDateToLocalDate;
|
|
36
|
+
private clearPongTimeout;
|
|
37
|
+
private recordActivity;
|
|
38
|
+
private schedulePongTimeout;
|
|
39
|
+
private handleMissedPong;
|
|
33
40
|
private startPinging;
|
|
34
41
|
private stopPinging;
|
|
35
42
|
private convertDatesToUTC;
|
package/package.json
CHANGED