1 | export var CONTROL_MSG;
|
2 | (function (CONTROL_MSG) {
|
3 | CONTROL_MSG["CONNECTION_CLOSED"] = "Connection closed";
|
4 | CONTROL_MSG["CONNECTION_FAILED"] = "Connection failed";
|
5 | CONTROL_MSG["REALTIME_SUBSCRIPTION_INIT_ERROR"] = "AppSync Realtime subscription init error";
|
6 | CONTROL_MSG["SUBSCRIPTION_ACK"] = "Subscription ack";
|
7 | CONTROL_MSG["TIMEOUT_DISCONNECT"] = "Timeout disconnect";
|
8 | })(CONTROL_MSG || (CONTROL_MSG = {}));
|
9 |
|
10 | export var ConnectionState;
|
11 | (function (ConnectionState) {
|
12 | |
13 |
|
14 |
|
15 | ConnectionState["Connected"] = "Connected";
|
16 | |
17 |
|
18 |
|
19 | ConnectionState["ConnectedPendingNetwork"] = "ConnectedPendingNetwork";
|
20 | |
21 |
|
22 |
|
23 | ConnectionState["ConnectionDisrupted"] = "ConnectionDisrupted";
|
24 | |
25 |
|
26 |
|
27 | ConnectionState["ConnectionDisruptedPendingNetwork"] = "ConnectionDisruptedPendingNetwork";
|
28 | |
29 |
|
30 |
|
31 | ConnectionState["Connecting"] = "Connecting";
|
32 | |
33 |
|
34 |
|
35 | ConnectionState["ConnectedPendingDisconnect"] = "ConnectedPendingDisconnect";
|
36 | |
37 |
|
38 |
|
39 | ConnectionState["Disconnected"] = "Disconnected";
|
40 | |
41 |
|
42 |
|
43 | ConnectionState["ConnectedPendingKeepAlive"] = "ConnectedPendingKeepAlive";
|
44 | })(ConnectionState || (ConnectionState = {}));
|
45 |
|
\ | No newline at end of file |