Rename RCTWebSocketManager file to reflect its new contents
Reviewed By: javache Differential Revision: D4296615 fbshipit-source-id: a48da3f0550398cb59478c7405fe971f9246910f
This commit is contained in:
parent
d0c3e98d1d
commit
2b0c4591e2
|
@ -11,10 +11,10 @@
|
||||||
1338BBE11B04ACC80064A9C9 /* RCTWebSocketExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */; };
|
1338BBE11B04ACC80064A9C9 /* RCTWebSocketExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */; };
|
||||||
2D3B5F3D1D9B165B00451313 /* RCTSRWebSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.m */; };
|
2D3B5F3D1D9B165B00451313 /* RCTSRWebSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.m */; };
|
||||||
2D3B5F3E1D9B165B00451313 /* RCTWebSocketExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */; };
|
2D3B5F3E1D9B165B00451313 /* RCTWebSocketExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */; };
|
||||||
2D3B5F3F1D9B165B00451313 /* RCTWebSocketManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB9106E1C74B1ED00838BBE /* RCTWebSocketManager.m */; };
|
2D3B5F3F1D9B165B00451313 /* RCTWebSocketObserver.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB9106E1C74B1ED00838BBE /* RCTWebSocketObserver.m */; };
|
||||||
2D3B5F401D9B165B00451313 /* RCTWebSocketModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */; };
|
2D3B5F401D9B165B00451313 /* RCTWebSocketModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */; };
|
||||||
3C86DF7C1ADF695F0047B81A /* RCTWebSocketModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */; };
|
3C86DF7C1ADF695F0047B81A /* RCTWebSocketModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */; };
|
||||||
3DB9106F1C74B1ED00838BBE /* RCTWebSocketManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB9106E1C74B1ED00838BBE /* RCTWebSocketManager.m */; };
|
3DB9106F1C74B1ED00838BBE /* RCTWebSocketObserver.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DB9106E1C74B1ED00838BBE /* RCTWebSocketObserver.m */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
@ -26,8 +26,8 @@
|
||||||
3C86DF461ADF2C930047B81A /* libRCTWebSocket.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTWebSocket.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
3C86DF461ADF2C930047B81A /* libRCTWebSocket.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTWebSocket.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
3C86DF7A1ADF695F0047B81A /* RCTWebSocketModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTWebSocketModule.h; sourceTree = "<group>"; };
|
3C86DF7A1ADF695F0047B81A /* RCTWebSocketModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTWebSocketModule.h; sourceTree = "<group>"; };
|
||||||
3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = RCTWebSocketModule.m; sourceTree = "<group>"; tabWidth = 2; };
|
3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = RCTWebSocketModule.m; sourceTree = "<group>"; tabWidth = 2; };
|
||||||
3DB9106D1C74B1ED00838BBE /* RCTWebSocketManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTWebSocketManager.h; sourceTree = "<group>"; };
|
3DB9106D1C74B1ED00838BBE /* RCTWebSocketObserver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTWebSocketObserver.h; sourceTree = "<group>"; };
|
||||||
3DB9106E1C74B1ED00838BBE /* RCTWebSocketManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTWebSocketManager.m; sourceTree = "<group>"; };
|
3DB9106E1C74B1ED00838BBE /* RCTWebSocketObserver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTWebSocketObserver.m; sourceTree = "<group>"; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
/* Begin PBXGroup section */
|
||||||
|
@ -38,8 +38,8 @@
|
||||||
1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.m */,
|
1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.m */,
|
||||||
1338BBDE1B04ACC80064A9C9 /* RCTWebSocketExecutor.h */,
|
1338BBDE1B04ACC80064A9C9 /* RCTWebSocketExecutor.h */,
|
||||||
1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */,
|
1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */,
|
||||||
3DB9106D1C74B1ED00838BBE /* RCTWebSocketManager.h */,
|
3DB9106D1C74B1ED00838BBE /* RCTWebSocketObserver.h */,
|
||||||
3DB9106E1C74B1ED00838BBE /* RCTWebSocketManager.m */,
|
3DB9106E1C74B1ED00838BBE /* RCTWebSocketObserver.m */,
|
||||||
3C86DF7A1ADF695F0047B81A /* RCTWebSocketModule.h */,
|
3C86DF7A1ADF695F0047B81A /* RCTWebSocketModule.h */,
|
||||||
3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */,
|
3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */,
|
||||||
3C86DF471ADF2C930047B81A /* Products */,
|
3C86DF471ADF2C930047B81A /* Products */,
|
||||||
|
@ -134,7 +134,7 @@
|
||||||
2D3B5F3E1D9B165B00451313 /* RCTWebSocketExecutor.m in Sources */,
|
2D3B5F3E1D9B165B00451313 /* RCTWebSocketExecutor.m in Sources */,
|
||||||
2D3B5F401D9B165B00451313 /* RCTWebSocketModule.m in Sources */,
|
2D3B5F401D9B165B00451313 /* RCTWebSocketModule.m in Sources */,
|
||||||
2D3B5F3D1D9B165B00451313 /* RCTSRWebSocket.m in Sources */,
|
2D3B5F3D1D9B165B00451313 /* RCTSRWebSocket.m in Sources */,
|
||||||
2D3B5F3F1D9B165B00451313 /* RCTWebSocketManager.m in Sources */,
|
2D3B5F3F1D9B165B00451313 /* RCTWebSocketObserver.m in Sources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
1338BBE01B04ACC80064A9C9 /* RCTSRWebSocket.m in Sources */,
|
1338BBE01B04ACC80064A9C9 /* RCTSRWebSocket.m in Sources */,
|
||||||
3C86DF7C1ADF695F0047B81A /* RCTWebSocketModule.m in Sources */,
|
3C86DF7C1ADF695F0047B81A /* RCTWebSocketModule.m in Sources */,
|
||||||
1338BBE11B04ACC80064A9C9 /* RCTWebSocketExecutor.m in Sources */,
|
1338BBE11B04ACC80064A9C9 /* RCTWebSocketExecutor.m in Sources */,
|
||||||
3DB9106F1C74B1ED00838BBE /* RCTWebSocketManager.m in Sources */,
|
3DB9106F1C74B1ED00838BBE /* RCTWebSocketObserver.m in Sources */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* of patent rights can be found in the PATENTS file in the same directory.
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import "RCTWebSocketManager.h"
|
#import "RCTWebSocketObserver.h"
|
||||||
|
|
||||||
#import <React/RCTConvert.h>
|
#import <React/RCTConvert.h>
|
||||||
#import <React/RCTDefines.h>
|
#import <React/RCTDefines.h>
|
|
@ -20,14 +20,4 @@
|
||||||
- (void)start;
|
- (void)start;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@protocol RCTWebSocketProxy
|
|
||||||
|
|
||||||
+ (instancetype)sharedInstance;
|
|
||||||
|
|
||||||
- (void)setDelegate:(id<RCTWebSocketProxyDelegate>)delegate forURL:(NSURL *)url;
|
|
||||||
|
|
||||||
- (instancetype)init __attribute__((unavailable("init not available, call sharedInstance instead")));
|
|
||||||
|
|
||||||
@end
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
#if RCT_DEV // Only supported in dev mode
|
#if RCT_DEV // Only supported in dev mode
|
||||||
|
|
||||||
@protocol RCTWebSocketProxy;
|
|
||||||
|
|
||||||
@protocol RCTWebSocketProxyDelegate
|
@protocol RCTWebSocketProxyDelegate
|
||||||
- (void)didReceiveWebSocketMessage:(NSDictionary<NSString *, id> *)message;
|
- (void)didReceiveWebSocketMessage:(NSDictionary<NSString *, id> *)message;
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue