Базовая компиляция контроллеров и executor'ов

This commit is contained in:
Антон
2025-08-25 19:11:08 +03:00
parent aaf5701fdb
commit 39b1625fb5
6 changed files with 85 additions and 22 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
#include <boost/beast.hpp>
namespace uad
{
template <class Body, class Allocator, class ResponseType>
class IExecutor
{
public:
virtual boost::beast::http::response<ResponseType> operator ()(
boost::beast::http::request<Body, boost::beast::http::basic_fields<Allocator>>&& req
) = 0;
virtual ~IExecutor() = default;
};
}