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