react-native/Libraries/WebSocket
Michael S. Kazmier 33d710e8c5 adds --port option to `react-native run-ios` as well as patches port …
Summary:
The pull request adds the `--port` option to `run-ios` allowing a developer to build and launch a react-native app using a single command line like this:
```
react-native run-ios --port 8088
```

It defaults to the current port 8081.

This pull request fixes issue #9145 and issue #14113.

This patch also extends `run-android` to properly test and launch the packager with the specified port, extending the work done in PR:  ##15316

1. Create a new react-native app, or simply clone this branch and then update your version of react-native using `yarn add file:./path/to/this/fork/of/react-native`
2. run `react-native run-ios --port 8088`
3. watch the packager start on the desired port (8088 in this case) and watch your app in your simulator connect to the packager and launch the app.
Closes https://github.com/facebook/react-native/pull/16172

Differential Revision: D6612534

Pulled By: shergin

fbshipit-source-id: 50af449f5e4c32fb76ba95f4cb7bf179e35526d5
2018-01-04 20:11:10 -08:00
..
RCTWebSocket.xcodeproj adds --port option to `react-native run-ios` as well as patches port … 2018-01-04 20:11:10 -08:00
__mocks__ Fix WebSocket compatibility with event-target-shim ^1.0.5 2016-04-27 12:26:23 -07:00
__tests__ Adding @email tags to most of the tests 2017-11-02 06:25:03 -07:00
RCTReconnectingWebSocket.h Make RCTPackagerConnection a singleton 2017-11-20 18:36:27 -08:00
RCTReconnectingWebSocket.m Make RCTPackagerConnection a singleton 2017-11-20 18:36:27 -08:00
RCTSRWebSocket.h Backed out changeset 183744d2415b 2016-03-15 11:49:28 -07:00
RCTSRWebSocket.m Merge RCTPackagerClient into RCTPackagerConnection 2017-05-05 08:49:28 -07:00
RCTWebSocketExecutor.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTWebSocketExecutor.m adds --port option to `react-native run-ios` as well as patches port … 2018-01-04 20:11:10 -08:00
RCTWebSocketModule.h Add blob implementation with WebSocket integration 2017-07-26 08:23:20 -07:00
RCTWebSocketModule.m Avoid memory leak in RCTWebSocketModule 2017-12-04 09:34:19 -08:00
WebSocket.js @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00
WebSocketEvent.js Implement WebSocket module for Android. Fixes #2837 2015-10-07 08:36:22 -07:00
WebSocketInterceptor.js Reorganize core JS files 2016-10-11 10:14:28 -07:00