diff options
Diffstat (limited to 'http/app.hpp')
-rw-r--r-- | http/app.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/http/app.hpp b/http/app.hpp index a3a6e16255..d3cf48c1b1 100644 --- a/http/app.hpp +++ b/http/app.hpp @@ -183,6 +183,11 @@ class App } #endif + boost::asio::io_context& ioContext() + { + return *io; + } + private: std::shared_ptr<boost::asio::io_context> io; #ifdef BMCWEB_ENABLE_SSL |