Mercurial > hg > orthanc-stone
comparison Platforms/Generic/OracleWebService.h @ 295:b04b13810540 am-2
unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
author | am@osimis.io |
---|---|
date | Tue, 04 Sep 2018 15:09:42 +0200 |
parents | 87376a645ee1 |
children | 3897f9f28cfa |
comparison
equal
deleted
inserted
replaced
294:faccc4b07b92 | 295:b04b13810540 |
---|---|
28 #include "../../Applications/Generic/NativeStoneApplicationContext.h" | 28 #include "../../Applications/Generic/NativeStoneApplicationContext.h" |
29 | 29 |
30 namespace OrthancStone | 30 namespace OrthancStone |
31 { | 31 { |
32 // The OracleWebService performs HTTP requests in a native environment. | 32 // The OracleWebService performs HTTP requests in a native environment. |
33 // It uses a thread pool to handle multiple HTTP requests in a same time. | |
34 // It works asynchronously to mimick the behaviour of the WebService running in a WASM environment. | |
33 class OracleWebService : public IWebService | 35 class OracleWebService : public IWebService |
34 { | 36 { |
35 private: | 37 private: |
36 Oracle& oracle_; | 38 Oracle& oracle_; |
37 NativeStoneApplicationContext& context_; | 39 NativeStoneApplicationContext& context_; |