This repository was archived by the owner on May 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,6 @@ typedef enum {
52
52
- (void ) socketIO : (SocketIO *)socket didReceiveEvent : (SocketIOPacket *)packet ;
53
53
- (void ) socketIO : (SocketIO *)socket didSendMessage : (SocketIOPacket *)packet ;
54
54
- (void ) socketIO : (SocketIO *)socket onError : (NSError *)error ;
55
-
56
- // TODO: deprecated -> to be removed
57
- - (void ) socketIO : (SocketIO *)socket failedToConnectWithError : (NSError *)error __attribute__((deprecated));
58
- - (void ) socketIOHandshakeFailed : (SocketIO *)socket __attribute__((deprecated));
59
55
@end
60
56
61
57
Original file line number Diff line number Diff line change @@ -686,13 +686,6 @@ - (void) connection:(NSURLConnection *)connection didFailWithError:(NSError *)er
686
686
687
687
[_delegate socketIO: self onError: err];
688
688
}
689
- // TODO: deprecated - to be removed
690
- else if ([_delegate respondsToSelector: @selector (socketIOHandshakeFailed: )]) {
691
- #pragma clang diagnostic push
692
- #pragma clang diagnostic ignored "-Wdeprecated-declarations"
693
- [_delegate socketIOHandshakeFailed: self ];
694
- #pragma clang diagnostic pop
695
- }
696
689
}
697
690
698
691
- (void ) connectionDidFinishLoading : (NSURLConnection *)connection
@@ -770,13 +763,6 @@ - (void) connectionDidFinishLoading:(NSURLConnection *)connection
770
763
if ([_delegate respondsToSelector: @selector (socketIO:onError: )]) {
771
764
[_delegate socketIO: self onError: error];
772
765
}
773
- // TODO: deprecated - to be removed
774
- else if ([_delegate respondsToSelector: @selector (socketIO:failedToConnectWithError: )]) {
775
- #pragma clang diagnostic push
776
- #pragma clang diagnostic ignored "-Wdeprecated-declarations"
777
- [_delegate socketIO: self failedToConnectWithError: error];
778
- #pragma clang diagnostic pop
779
- }
780
766
781
767
// make sure to do call all cleanup code
782
768
[self onDisconnect: error];
You can’t perform that action at this time.
0 commit comments