mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 11:57:46 +08:00
Expose webSocketDidOpen in RCTReconnectingWebSocket
Summary: Expose webSocketDidOpen in RCTReconnectingWebSocket in order to get notified when the reconnecting websocket is opened to the endpoint. Reviewed By: emilsjolander Differential Revision: D5725547 fbshipit-source-id: e904c5a84d670ecf936993ec1739614f99fce09c
This commit is contained in:
committed by
Facebook Github Bot
parent
b11656a727
commit
bf67345b3b
@@ -66,6 +66,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (void)webSocketDidOpen:(RCTSRWebSocket *)webSocket
|
||||
{
|
||||
}
|
||||
|
||||
- (void)webSocket:(RCTSRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user