|
Monero C++ Library
|
#include <monero_rpc_connection.h>
Public Member Functions | |
| monero_rpc_request (const std::string &method, const std::shared_ptr< serializable_struct > ¶ms, bool json_rpc=true) | |
| bool | is_json_rpc () const |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const override |
Public Member Functions inherited from monero::serializable_struct | |
| std::string | serialize () const |
Public Attributes | |
| boost::optional< std::string > | m_id |
| boost::optional< std::string > | m_version |
| boost::optional< std::string > | m_method |
| std::shared_ptr< serializable_struct > | m_params |
Models a request to a RPC server.
|
overridevirtual |
Converts the struct to a rapidjson Value.
| allocator | is the rapidjson document allocator |
Implements monero::serializable_struct.