From 2ec1e1f7282d5cec6d075c7bda3c0e8036fdc633 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 25 May 2016 08:03:57 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/network.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/next/docs/network.html b/releases/next/docs/network.html index a2c6f132e82..a59b77189c1 100644 --- a/releases/next/docs/network.html +++ b/releases/next/docs/network.html @@ -48,7 +48,7 @@ ws.onerror = ws.onclose = (e) => { // connection closed console.log(e.code, e.reason); -};

XMLHttpRequest #

XMLHttpRequest API is implemented on-top of iOS networking apis. 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.

var request = new XMLHttpRequest(); +};

XMLHttpRequest #

XMLHttpRequest API is implemented on-top of iOS networking apis and 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.

var request = new XMLHttpRequest(); request.onreadystatechange = (e) => { if (request.readyState !== 4) { return;