2#include <fc/io/stdio.hpp>
7#include <fc/thread/thread.hpp>
11namespace fc {
namespace rpc {
37 std::string _prompt =
">>>";
39 fc::future<void> _run_complete;
virtual variant send_callback(uint64_t callback_id, variants args=variants())
virtual void getline(const fc::string &prompt, fc::string &line)
virtual variant send_call(api_id_type api_id, string method_name, variants args=variants())
void format_result(const string &method, std::function< string(variant, const variants &)> formatter)
virtual void send_notice(uint64_t callback_id, variants args=variants())
void set_prompt(const string &prompt)
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
std::vector< fc::variant > variants
unsigned __int64 uint64_t