mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
Update XHR information for Android.
Summary: Currently XHR also supports Android platform, so document should include this information. Closes https://github.com/facebook/react-native/pull/7729 Differential Revision: D3345168 fbshipit-source-id: 8dee7d573a47aede5dc5be97640fc711747df65c
This commit is contained in:
parent
ac5636dd59
commit
04d86d819e
@ -102,7 +102,7 @@ ws.onclose = (e) => {
|
||||
|
||||
## XMLHttpRequest
|
||||
|
||||
XMLHttpRequest API is implemented on-top of [iOS networking apis](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html). The notable difference from web is the security model: you can read from arbitrary websites on the internet since there is no concept of [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing).
|
||||
XMLHttpRequest API is implemented on-top of [iOS networking apis](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html) and [OkHttp](http://square.github.io/okhttp/). The notable difference from web is the security model: you can read from arbitrary websites on the internet since there is no concept of [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing).
|
||||
|
||||
```js
|
||||
var request = new XMLHttpRequest();
|
||||
|
Loading…
x
Reference in New Issue
Block a user