react-native/Libraries/WebSocket
Philipp von Weitershausen ebb44d202b Clean up and simplify WebSocket implementation on the JS side
Summary:- Get rid of no longer necessary WebSocket.js v WebSocketBase.js split
- Use `EventTarget(list, of, events)` as base class to auto-generate `oneventname` getters/setters that get invoked along with other event handlers
- Type annotation `any` considered harmful, especially when we can easily spell out the actual type
- Throw in some `const` goodness for free

**Test Plan:** Launch UIExplorer example app, supplied `websocket_test_server` script, and try different combinations of sending and receiving text and binary data on both iOS and Android.
Closes https://github.com/facebook/react-native/pull/6889

Differential Revision: D3184835

Pulled By: mkonicek

fb-gh-sync-id: f21707f4e97aa5a79847f5157e0a9f132a1a01cd
fbshipit-source-id: f21707f4e97aa5a79847f5157e0a9f132a1a01cd
2016-04-18 15:43:25 -07:00
..
RCTWebSocket.xcodeproj Fix OSS iOS build 2016-02-17 07:38:33 -08:00
__mocks__ Clean up and simplify WebSocket implementation on the JS side 2016-04-18 15:43:25 -07:00
__tests__ Clean up and simplify WebSocket implementation on the JS side 2016-04-18 15:43:25 -07:00
RCTSRWebSocket.h Backed out changeset 183744d2415b 2016-03-15 11:49:28 -07:00
RCTSRWebSocket.m Increase RN devtools retry timeout 2016-04-01 07:02:25 -07:00
RCTWebSocketExecutor.h Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTWebSocketExecutor.m Added support for JavaScript third-party debuggers 2016-04-07 13:15:58 -07:00
RCTWebSocketManager.h Enable persistent socket between packager and bridge (1/N). 2016-02-16 23:05:36 -08:00
RCTWebSocketManager.m Increase RN devtools retry timeout 2016-04-01 07:02:25 -07:00
RCTWebSocketModule.h Make the RCTSRWebSocketDelegate protocol part of RCTWebSocketModule public 2016-01-14 16:13:33 -08:00
RCTWebSocketModule.m Backed out changeset 183744d2415b 2016-03-15 11:49:28 -07:00
WebSocket.js Clean up and simplify WebSocket implementation on the JS side 2016-04-18 15:43:25 -07:00
WebSocketEvent.js Implement WebSocket module for Android. Fixes #2837 2015-10-07 08:36:22 -07:00