Skip to content

Commit

Permalink
Rename RCTWebSocketManager file to reflect its new contents
Browse files Browse the repository at this point in the history
Reviewed By: javache

Differential Revision: D4296615

fbshipit-source-id: a48da3f0550398cb59478c7405fe971f9246910f
  • Loading branch information
adamjernst authored and Facebook Github Bot committed Dec 8, 2016
1 parent d0c3e98 commit 2b0c459
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 21 deletions.
16 changes: 8 additions & 8 deletions Libraries/WebSocket/RCTWebSocket.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
1338BBE11B04ACC80064A9C9 /* RCTWebSocketExecutor.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */; };
2D3B5F3D1D9B165B00451313 /* RCTSRWebSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.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 */; };
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 */

/* Begin PBXFileReference section */
Expand All @@ -26,8 +26,8 @@
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>"; };
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>"; };
3DB9106E1C74B1ED00838BBE /* RCTWebSocketManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTWebSocketManager.m; sourceTree = "<group>"; };
3DB9106D1C74B1ED00838BBE /* RCTWebSocketObserver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTWebSocketObserver.h; sourceTree = "<group>"; };
3DB9106E1C74B1ED00838BBE /* RCTWebSocketObserver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTWebSocketObserver.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXGroup section */
Expand All @@ -38,8 +38,8 @@
1338BBDD1B04ACC80064A9C9 /* RCTSRWebSocket.m */,
1338BBDE1B04ACC80064A9C9 /* RCTWebSocketExecutor.h */,
1338BBDF1B04ACC80064A9C9 /* RCTWebSocketExecutor.m */,
3DB9106D1C74B1ED00838BBE /* RCTWebSocketManager.h */,
3DB9106E1C74B1ED00838BBE /* RCTWebSocketManager.m */,
3DB9106D1C74B1ED00838BBE /* RCTWebSocketObserver.h */,
3DB9106E1C74B1ED00838BBE /* RCTWebSocketObserver.m */,
3C86DF7A1ADF695F0047B81A /* RCTWebSocketModule.h */,
3C86DF7B1ADF695F0047B81A /* RCTWebSocketModule.m */,
3C86DF471ADF2C930047B81A /* Products */,
Expand Down Expand Up @@ -134,7 +134,7 @@
2D3B5F3E1D9B165B00451313 /* RCTWebSocketExecutor.m in Sources */,
2D3B5F401D9B165B00451313 /* RCTWebSocketModule.m in Sources */,
2D3B5F3D1D9B165B00451313 /* RCTSRWebSocket.m in Sources */,
2D3B5F3F1D9B165B00451313 /* RCTWebSocketManager.m in Sources */,
2D3B5F3F1D9B165B00451313 /* RCTWebSocketObserver.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -145,7 +145,7 @@
1338BBE01B04ACC80064A9C9 /* RCTSRWebSocket.m in Sources */,
3C86DF7C1ADF695F0047B81A /* RCTWebSocketModule.m in Sources */,
1338BBE11B04ACC80064A9C9 /* RCTWebSocketExecutor.m in Sources */,
3DB9106F1C74B1ED00838BBE /* RCTWebSocketManager.m in Sources */,
3DB9106F1C74B1ED00838BBE /* RCTWebSocketObserver.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 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/RCTDefines.h>
Expand Down
10 changes: 0 additions & 10 deletions React/Base/RCTWebSocketProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,4 @@
- (void)start;
@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
2 changes: 0 additions & 2 deletions React/Base/RCTWebSocketProxyDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

#if RCT_DEV // Only supported in dev mode

@protocol RCTWebSocketProxy;

@protocol RCTWebSocketProxyDelegate
- (void)didReceiveWebSocketMessage:(NSDictionary<NSString *, id> *)message;
@end
Expand Down

0 comments on commit 2b0c459

Please sign in to comment.