xrpld
Loading...
Searching...
No Matches
Work.h
1#pragma once
2
3#include <boost/beast/http/message.hpp>
4#include <boost/beast/http/string_body.hpp>
5
6namespace xrpl::detail {
7
8using response_type = boost::beast::http::response<boost::beast::http::string_body>;
9
10class Work
11{
12public:
13 virtual ~Work() = default;
14
15 virtual void
16 run() = 0;
17
18 virtual void
19 cancel() = 0;
20};
21
22} // namespace xrpl::detail
virtual void run()=0
virtual void cancel()=0
virtual ~Work()=default
boost::beast::http::response< boost::beast::http::string_body > response_type
Definition Work.h:8