Mercurial > hg > orthanc-stone
diff Platforms/Wasm/WasmWebService.h @ 299:3897f9f28cfa am-callable-and-promise
backup work in progress: updated messaging framework with ICallable
author | am@osimis.io |
---|---|
date | Fri, 14 Sep 2018 16:44:01 +0200 |
parents | 9afafb192180 |
children | ed1a4302154f |
line wrap: on
line diff
--- a/Platforms/Wasm/WasmWebService.h Mon Sep 10 12:22:26 2018 +0200 +++ b/Platforms/Wasm/WasmWebService.h Fri Sep 14 16:44:01 2018 +0200 @@ -48,6 +48,12 @@ const std::string& body, Orthanc::IDynamicObject* payload); + virtual void GetAsync(const std::string& relativeUri, + const Headers& headers, + Orthanc::IDynamicObject* payload, + MessageHandler<IWebService::NewHttpRequestSuccessMessage>* successCallback, + MessageHandler<IWebService::NewHttpRequestErrorMessage>* failureCallback); + virtual void Start() { }