react-native/Libraries
Adam Gleitman 9ee0e1c78e Use SocketRocket for web socket library (#36471)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/36471

The previous native web socket API, `RCTSRWebSocket`, appears to be an older version of the one provided as part of [SocketRocket](https://github.com/facebookincubator/SocketRocket). The latter has several improvements, such as the ability to respect proxy settings, which has been requested by a user of a React Native app.

Everything translates over pretty easily, and considering that SocketRocket is already a dependency of Flipper, there doesn't seem to be much additional cost to swapping out the libraries. If we wanted to make things even slimmer, it may even be possible to make the WebSocket library be optional for release builds.

## Changelog

[IOS] [CHANGED] - Use SocketRocket for web socket library

Pull Request resolved: https://github.com/facebook/react-native/pull/36347

Test Plan:
Validated the following:
* The WebSocket test page in RNTester
* Live reloading

Reviewed By: cortinico

Differential Revision: D43768835

Pulled By: javache

fbshipit-source-id: 11e1ac2700bc92991897c594622e6687339bfcbf
2023-03-15 13:32:59 -07:00
..
__flowtests__
ActionSheetIOS Revert ESM imports 2023-02-28 10:23:36 -08:00
Alert Enforce compatibility with exactOptionalPropertyTypes (#36345) 2023-03-08 00:14:56 -08:00
Animated Prepare for next React Native sync with new instance format (#36438) 2023-03-13 05:47:18 -07:00
AppDelegate Extracting Platform Specific TM code to break dependency cycle between ReactCommon and React-Core (#36461) 2023-03-14 05:31:16 -07:00
AppState
BatchedBridge
Blob FileReader#readAsArrayBuffer (#36332) 2023-03-14 11:58:11 -07:00
BugReporting
Components Back out "1/2 TextInput accessibilityErrorMessage (Talkback, Android)" 2023-03-14 05:42:06 -07:00
Core Use by default new Performance API implementation if available 2023-03-15 05:36:24 -07:00
DevToolsSettings
DOM/Geometry
EventEmitter
Events
FBLazyVector
HeapCapture
Image Extracting Platform Specific TM code to break dependency cycle between ReactCommon and React-Core (#36461) 2023-03-14 05:31:16 -07:00
Inspector Prepare for next React Native sync with new instance format (#36438) 2023-03-13 05:47:18 -07:00
Interaction
JSInspector
LayoutAnimation Use getter instead of constant to provide access to FabricUIManager binding 2023-03-15 08:36:40 -07:00
Linking
LinkingIOS Extracting Platform Specific TM code to break dependency cycle between ReactCommon and React-Core (#36461) 2023-03-14 05:31:16 -07:00
Lists Enforce compatibility with exactOptionalPropertyTypes (#36345) 2023-03-08 00:14:56 -08:00
LogBox Upgrade to Flow 0.201.0 2023-03-03 17:06:58 -08:00
Modal
NativeAnimation Extracting Platform Specific TM code to break dependency cycle between ReactCommon and React-Core (#36461) 2023-03-14 05:31:16 -07:00
NativeComponent
NativeModules/specs
Network Extracting Platform Specific TM code to break dependency cycle between ReactCommon and React-Core (#36461) 2023-03-14 05:31:16 -07:00
NewAppScreen
Performance
PermissionsAndroid
Pressability
PushNotificationIOS Extracting Platform Specific TM code to break dependency cycle between ReactCommon and React-Core (#36461) 2023-03-14 05:31:16 -07:00
RCTRequired
ReactNative Use getter instead of constant to provide access to FabricUIManager binding 2023-03-15 08:36:40 -07:00
ReactPrivate
Renderer Back out "React Native sync for revisions fccf3a9...47cf4e5" 2023-03-15 11:38:15 -07:00
Settings Extracting Platform Specific TM code to break dependency cycle between ReactCommon and React-Core (#36461) 2023-03-14 05:31:16 -07:00
Share Revert ESM imports 2023-02-28 10:23:36 -08:00
StyleSheet Fix typing for TS AnimatableStringValue (#36366) 2023-03-03 07:09:02 -08:00
SurfaceBackedComponent
SurfaceHostingComponent
Text Remove assumptions on super's description (#36374) 2023-03-08 07:41:07 -08:00
TurboModule
Types
TypeSafety
Utilities Logging in GlobalPerformanceLogger via WebPerformance API (#36402) 2023-03-10 12:37:51 -08:00
vendor EventEmitter: Enforce Function Type of Listener 2023-03-02 02:52:20 -08:00
Vibration Extracting Platform Specific TM code to break dependency cycle between ReactCommon and React-Core (#36461) 2023-03-14 05:31:16 -07:00
WebPerformance Shim implementation for NativePerformance on JS side 2023-03-14 04:48:02 -07:00
WebSocket Use SocketRocket for web socket library (#36471) 2023-03-15 13:32:59 -07:00
Wrapper
YellowBox Revert ESM imports 2023-02-28 10:23:36 -08:00
.npmignore
Promise.js
promiseRejectionTrackingOptions.js
UTFSequence.js