Files
NativeScript/tests/app/http-string-worker.ts
Vladimir Enchev 969f09bc15 http with worker test added (#3467)
* test added

* http with worker test added

* file deleted
2017-01-11 17:09:09 +02:00

10 lines
200 B
TypeScript

require("globals");
import http = require("http");
declare var postMessage : any;
http.getString("https://httpbin.org/get").then(function (r) {
postMessage(r);
}, function (e) {
throw e;
});