react-native/Libraries/Inspector
Siqi Liu 43f73f675f Enable websocket interception in RN network inspector tool
Summary:
This diff enables network inspection for WebSocket APIs, so by now XMLHttpRequest, Fetch and WebSocket are all supported. Android and iOS are both supported.

This diff monkey-patches the RCTWebSocketModule which WebSocket API builds on, and now it is able to intercept all WebSocket requests when app is running. The intercepted information of a WebSocket includes url, protocols, status, messages (sent and received), close reason, server close event and server error information, etc.

Reviewed By: davidaurelio

Differential Revision: D3641770

fbshipit-source-id: 393df0da74ed95b1fd60e38b0d67ed61b3dd5ff3
2016-08-02 08:28:39 -07:00
..
BorderBox.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
BoxInspector.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
ElementBox.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
ElementProperties.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
Inspector.js Intercept XMLHttpRequest network operations and gather their information in inspector tool 2016-07-27 12:28:32 -07:00
InspectorOverlay.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
InspectorPanel.js Intercept XMLHttpRequest network operations and gather their information in inspector tool 2016-07-27 12:28:32 -07:00
InspectorUtils.js Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
NetworkOverlay.js Enable websocket interception in RN network inspector tool 2016-08-02 08:28:39 -07:00
PerformanceOverlay.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
StyleInspector.js Fix warnings of StyleInspector 2016-02-10 08:40:39 -08:00
resolveBoxStyle.js [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00