You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/AblyChat/Connection.swift
+23-1Lines changed: 23 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,24 @@ public enum ConnectionStatus: Sendable {
108
108
*/
109
109
case failed
110
110
111
+
// (CHA-CS1g) The @CLOSING@ status is used when a user has called @close@ on the underlying Realtime client and it is attempting to close the connection with Ably. The library will not attempt to reconnect.
112
+
113
+
/**
114
+
* An explicit request by the developer to close the connection has been sent to the Ably service.
115
+
* If a reply is not received from Ably within a short period of time, the connection is forcibly
116
+
* terminated and the connection status becomes Closed.
117
+
*/
118
+
case closing
119
+
120
+
// (CHA-CS1h) The @CLOSED@ status is used when the @close@ call on the underlying Realtime client has succeeded, either via mutual agreement with the server or forced after a time out. The library will not attempt to reconnect.
121
+
122
+
/**
123
+
* The connection has been explicitly closed by the client.
124
+
* In the closed state, no reconnection attempts are made automatically.
125
+
* No connection state is preserved by the service or the library.
0 commit comments