#pragma once

#include <boost/beast/http/message.hpp>
#include <boost/beast/http/string_body.hpp>

namespace xrpl {

namespace detail {

using response_type = boost::beast::http::response<boost::beast::http::string_body>;

class Work
{
public:
    virtual ~Work() = default;

    virtual void
    run() = 0;

    virtual void
    cancel() = 0;
};

}  // namespace detail

}  // namespace xrpl
