Mercurial > hg > orthanc-stone
comparison Platforms/Wasm/WasmWebService.js @ 435:e641d3978856 am-vsol-upgrade
WasmWebService now using BaseWebService and supporting cache
author | am@osimis.io |
---|---|
date | Tue, 04 Dec 2018 11:52:43 +0100 |
parents | d638d5721f1c |
children | 5055031f4a06 |
comparison
equal
deleted
inserted
replaced
434:3a8bcc45c221 | 435:e641d3978856 |
---|---|
31 } | 31 } |
32 } | 32 } |
33 } | 33 } |
34 | 34 |
35 xhr.send(); | 35 xhr.send(); |
36 }, | |
37 | |
38 WasmWebService_ScheduleLaterCachedSuccessNotification: function (brol) { | |
39 setTimeout(function() { | |
40 WasmWebService_NotifyCachedSuccess(brol); | |
41 }, 0); | |
36 }, | 42 }, |
37 | 43 |
38 WasmWebService_PostAsync: function(callableSuccess, callableFailure, url, headersInJsonString, body, bodySize, payload, timeoutInSeconds) { | 44 WasmWebService_PostAsync: function(callableSuccess, callableFailure, url, headersInJsonString, body, bodySize, payload, timeoutInSeconds) { |
39 var xhr = new XMLHttpRequest(); | 45 var xhr = new XMLHttpRequest(); |
40 var url_ = UTF8ToString(url); | 46 var url_ = UTF8ToString(url); |