diff options
Diffstat (limited to 'include/obmc_console.hpp')
| -rw-r--r-- | include/obmc_console.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/obmc_console.hpp b/include/obmc_console.hpp index b545f96..9e5e058 100644 --- a/include/obmc_console.hpp +++ b/include/obmc_console.hpp @@ -3,6 +3,7 @@ #include <sys/socket.h> #include <websocket.h> +#include <async_resp.hpp> #include <boost/container/flat_map.hpp> #include <boost/container/flat_set.hpp> #include <webserver_common.hpp> @@ -106,7 +107,8 @@ void requestRoutes(CrowApp& app) BMCWEB_ROUTE(app, "/console0") .requires({"ConfigureComponents", "ConfigureManager"}) .websocket() - .onopen([](crow::websocket::Connection& conn) { + .onopen([](crow::websocket::Connection& conn, + std::shared_ptr<bmcweb::AsyncResp> asyncResp) { BMCWEB_LOG_DEBUG << "Connection " << &conn << " opened"; sessions.insert(&conn); |

