Expose didCloseWithCode in RCTReconnectingWebSocket

Summary: Expose didCloseWithCode in RCTReconnectingWebSocket in order to get notified when the reconnecting websocket is closed by the end-point.

Reviewed By: javache

Differential Revision: D5573394

fbshipit-source-id: 78bffeb98c6bf32b059194fc07ffc1f0a7bf4aae
This commit is contained in:
Sebastian Lund authored and Facebook Github Bot committed 2017-08-07 07:04:36 -07:00
1 parent 220034c4d4
commit 72dae519d0
4 files changed
+11

No files matched your search

@@ -61,6 +61,10 @@
}
}
- (void)webSocket:(RCTSRWebSocket *)webSocket didCloseWithCode:(NSInteger)code reason:(NSString *)reason wasClean:(BOOL)wasClean
{
}
@end
#endif