summaryrefslogtreecommitdiff
path: root/http/websocket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'http/websocket.hpp')
-rw-r--r--http/websocket.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/http/websocket.hpp b/http/websocket.hpp
index 4f5b3c18a6..388a3e4031 100644
--- a/http/websocket.hpp
+++ b/http/websocket.hpp
@@ -128,8 +128,7 @@ class ConnectionImpl : public Connection
}));
// Make a pointer to keep the req alive while we accept it.
- using Body =
- boost::beast::http::request<boost::beast::http::string_body>;
+ using Body = boost::beast::http::request<bmcweb::FileBody>;
std::unique_ptr<Body> mobile = std::make_unique<Body>(req.req);
Body* ptr = mobile.get();
// Perform the websocket upgrade
@@ -227,8 +226,8 @@ class ConnectionImpl : public Connection
}
void acceptDone(const std::shared_ptr<Connection>& /*self*/,
- const std::unique_ptr<boost::beast::http::request<
- boost::beast::http::string_body>>& /*req*/,
+ const std::unique_ptr<
+ boost::beast::http::request<bmcweb::FileBody>>& /*req*/,
const boost::system::error_code& ec)
{
if (ec)