LCRTMWebSocketDelegate
Objective-C
@protocol LCRTMWebSocketDelegate <NSObject>
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didOpenWithProtocol:(NSString * _Nullable)protocol;
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didCloseWithError:(NSError *)error;
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didReceiveMessage:(LCRTMWebSocketMessage *)message;
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didReceivePing:(NSData * _Nullable)data;
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didReceivePong:(NSData * _Nullable)data;
@end
Swift
protocol LCRTMWebSocketDelegate : NSObjectProtocol
Undocumented
-
Undocumented
Declaration
Objective-C
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didOpenWithProtocol:(NSString * _Nullable)protocol;
Swift
func lcrtmWebSocket(_ socket: LCRTMWebSocket, didOpenWithProtocol protocol: String?)
-
Undocumented
Declaration
Objective-C
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didCloseWithError:(NSError *)error;
Swift
func lcrtmWebSocket(_ socket: LCRTMWebSocket, didCloseWithError error: Error)
-
Undocumented
Declaration
Objective-C
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didReceiveMessage:(LCRTMWebSocketMessage *)message;
Swift
func lcrtmWebSocket(_ socket: LCRTMWebSocket, didReceive message: LCRTMWebSocketMessage)
-
Undocumented
Declaration
Objective-C
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didReceivePing:(NSData * _Nullable)data;
Swift
func lcrtmWebSocket(_ socket: LCRTMWebSocket, didReceivePing data: Data?)
-
Undocumented
Declaration
Objective-C
- (void)LCRTMWebSocket:(LCRTMWebSocket *)socket didReceivePong:(NSData * _Nullable)data;
Swift
func lcrtmWebSocket(_ socket: LCRTMWebSocket, didReceivePong data: Data?)