Skip to content

Commit

Permalink
Update XHR information for Android.
Browse files Browse the repository at this point in the history
Summary:
Currently XHR also supports Android platform, so document should include this information.
Closes facebook#7729

Differential Revision: D3345168

fbshipit-source-id: 8dee7d573a47aede5dc5be97640fc711747df65c
  • Loading branch information
MIYOKAWA, Nobuyoshi authored and Facebook Github Bot 7 committed May 25, 2016
1 parent ac5636d commit 04d86d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Network.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 04d86d8

Please sign in to comment.