Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ let isInterceptorEnabled = false;

/**
* A network interceptor which monkey-patches RCTWebSocketModule methods
* to gather all websocket network requests/responses, in order to show
* their information in the React Native inspector development tool.
* to gather all websocket network events.
*
* @deprecated Since React Native 0.84
*/

const WebSocketInterceptor = {
/**
* Invoked when RCTWebSocketModule.close(...) is called.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@ let isInterceptorEnabled = false;

/**
* A network interceptor which monkey-patches XMLHttpRequest methods
* to gather all network requests/responses, in order to show their
* information in the React Native inspector development tool.
* to gather all network requests/responses.
* This supports interception with XMLHttpRequest API, including Fetch API
* and any other third party libraries that depend on XMLHttpRequest.
*
* @deprecated Since React Native 0.84
*/
const XHRInterceptor = {
/**
Expand Down
Loading