generated from Sithas/conan_template
17 lines
346 B
C++
17 lines
346 B
C++
#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;
|
|
};
|
|
}
|