File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ internal enum PusherChannelsProtocolCloseCode: UInt16 {
28
28
/// and that the client may reconnect immediately.
29
29
case reconnectImmediately
30
30
31
- /// Indicates any other type of error in the connection being closed by Pusher Channels,
32
- /// and the client may reconnect if appropriate.
33
- case reconnectIfAppropriate
34
-
35
31
/// Indicates that the reconnection strategy is unknown due to the closure code being
36
32
/// outside of the expected range as specified by the Pusher Channels Protocol.
37
33
case unknown
@@ -46,8 +42,6 @@ internal enum PusherChannelsProtocolCloseCode: UInt16 {
46
42
self = . reconnectAfterBackingOff
47
43
case 4200 ... 4299 :
48
44
self = . reconnectImmediately
49
- case 4300 ... 4399 :
50
- self = . reconnectIfAppropriate
51
45
default :
52
46
self = . unknown
53
47
}
@@ -78,9 +72,6 @@ internal enum PusherChannelsProtocolCloseCode: UInt16 {
78
72
/// and client does not support ping.
79
73
case closedAfterInactivity = 4202
80
74
81
- // 4300 - 4399
82
- case clientEventRejectedDueToRateLimit = 4300
83
-
84
75
// MARK: - Public properties
85
76
86
77
var reconnectionStrategy : ReconnectionStrategy {
You can’t perform that action at this time.
0 commit comments