event: message
data: {"result":{"content":[{"type":"text","text":"Title: Networking\nURL: https://reactnative.dev/docs/network\nPublished: 2026-08-12T00:00:00.000Z\nAuthor: N/A\nHighlights:\nNetworking · React Native\n...\nMany mobile apps need to load resources from a remote URL. You may want to make a POST request to a REST API, or you may need to fetch a chunk of static content from another server.\n...\n## Using Fetch​\n...\nReact Native provides the Fetch API for your networking needs. Fetch will seem familiar if you have used `XMLHttpRequest` or other networking APIs before. You may refer to MDN's guide on Using Fetch for additional information.\n...\n### Making requests\n...\nIn order to fetch content from an arbitrary URL, you can pass the URL to fetch:\n...\n### Handling the response​\n...\nNetworking is an inherently asynchronous operation. Fetch method will return a Promise that makes it straightforward to write code that works in an asynchronous manner:\n...\niOS 9.\n...\nSecurity (ATS\n...\nATS requires any\n...\naccess to, it is\n...\ndomains; if\n...\nhowever that from January 2017\n...\nApple's App Store review\n...\n## Using Other Networking Libraries​\n...\nThe XMLHttpRequest API is built into React Native. This means that you can use third party libraries such as frisbee or axios that depend on it, or you can use the XMLHttpRequest API directly if you prefer.\n...\n## WebSocket Support​\n...\nReact Native also supports WebSockets, a protocol which provides full-duplex communication channels over a single TCP connection.\n...\n## Known Issues with `fetch` and cookie based authentication​\n...\noptions are currently not working with `fetch`\n...\n## Configuring NSURLSession on iOS​\n...\nFor some applications it may be appropriate to provide a custom `NSURLSessionConfiguration` for the underlying `NSURLSession` that is used for network requests in a React Native application running on iOS. For instance, one may need to set a custom user agent string for all network requests coming from the app or supply `NSURLSession` with an ephemeral `NSURLSessionConfiguration`. The function `RCTSetCustomNSURLSessionConfigurationProvider` allows for such customization. Remember to add the following import to the file in which `RCTSetCustomNSURLSessionConfigurationProvider` will be called:\n\n---\n\nTitle: Networking · React Native\nURL: https://reactnative.dev/docs/next/network\nPublished: 2026-06-28T00:00:00.000Z\nAuthor: N/A\nHighlights:\nNetworking · React Native\n...\nMany mobile apps need to load resources from a remote URL. You may want to make a POST request to a REST API, or you may need to fetch a chunk of static content from another server.\n...\n## Using Fetch​\n...\nReact Native provides the Fetch API for your networking needs. Fetch will seem familiar if you have used `XMLHttpRequest` or other networking APIs before. You may refer to MDN's guide on Using Fetch for additional information.\n...\nIn order to fetch content from an arbitrary URL, you can pass the URL to fetch:\n...\n### Handling the response​\n...\nNetworking is an inherently asynchronous operation. Fetch method will return a Promise that makes it straightforward to write code that works in an asynchronous manner:\n...\n## Using Other Networking Libraries​\n...\nThe XMLHttpRequest API is built into React Native. This means that you can use third party libraries such as frisbee or axios that depend on it, or you can use the XMLHttpRequest API directly if you prefer.\n...\n## WebSocket Support​\n...\nReact Native also supports WebSockets, a protocol which provides full-duplex communication channels over a single TCP connection.\n...\n## Known Issues with `fetch` and cookie based authentication​\n...\noptions are currently not working with `fetch`\n...\n## Configuring NSURLSession on iOS​\n...\nFor some applications it may be appropriate to provide a custom `NSURLSessionConfiguration` for the underlying `NSURLSession` that is used for network requests in a React Native application running on iOS. For instance, one may need to set a custom user agent string for all network requests coming from the app or supply `NSURLSession` with an ephemeral `NSURLSessionConfiguration`. The function `RCTSetCustomNSURLSessionConfigurationProvider` allows for such customization. Remember to add the following import to the file in which `RCTSetCustomNSURLSessionConfigurationProvider` will be called:","_meta":{"searchTime":807.9}}]},"jsonrpc":"2.0","id":2}
