summaryrefslogtreecommitdiff
path: root/crow/include/crow/http_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'crow/include/crow/http_request.h')
-rw-r--r--crow/include/crow/http_request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crow/include/crow/http_request.h b/crow/include/crow/http_request.h
index e66ad4be27..ac5f78d0ca 100644
--- a/crow/include/crow/http_request.h
+++ b/crow/include/crow/http_request.h
@@ -1,6 +1,6 @@
#pragma once
-#include <boost/asio/io_service.hpp>
+#include <boost/asio/io_context.hpp>
#include <boost/beast/http.hpp>
#include <boost/beast/websocket.hpp>
@@ -19,7 +19,7 @@ struct Request
const std::string& body;
void* middlewareContext{};
- boost::asio::io_service* ioService{};
+ boost::asio::io_context* ioService{};
Request(boost::beast::http::request<boost::beast::http::string_body>& req) :
req(req), body(req.body())