Andy Prock
9b87e6c860
Added an optional options parameter for WebSockets
...
Summary:
This enables overriding origin, and other request headers. Similar to the https://github.com/websockets/ws api.
Closes https://github.com/facebook/react-native/pull/4629
Reviewed By: svcscm
Differential Revision: D2839951
Pulled By: mkonicek
fb-gh-sync-id: 3578af4343f90572b8851ff28342a05945498ef6
2016-01-20 11:01:39 -08:00
Martin Konicek
e8659b3602
Remove all BUCK files
2015-12-09 20:25:19 +00:00
Martin Konicek
5518279610
Add gradle wrapper
...
Reviewed By: astreet
Differential Revision: D2590921
fb-gh-sync-id: cf870c96f772c06e1a8b69014ebd906978ea8c00
2015-10-29 10:09:29 -07:00
Satyajit Sahoo
c45bb3e9c9
Don't throw runtime exception if WebSocket is already closed
...
Summary: Refer #3364
Closes https://github.com/facebook/react-native/pull/3706
Reviewed By: svcscm
Differential Revision: D2585455
Pulled By: mkonicek
fb-gh-sync-id: fecd5e46c59a79a109aad97a49c9ea016e82d669
2015-10-27 08:36:27 -07:00
Satyajit Sahoo
f4857a6d42
Implement WebSocket module for Android. Fixes #2837
...
Summary: The JavaScript code for Android is same as the iOS counterpart, I just added few new lines and used arrow functions instead of binding `this`.
Closes https://github.com/facebook/react-native/pull/2839
Reviewed By: @svcscm, @vjeux
Differential Revision: D2498703
Pulled By: @mkonicek
fb-gh-sync-id: 3fe958dd5af0efba00df07515f8e33b5d87eb05b
2015-10-07 08:36:22 -07:00