#include <monero_daemon_model.h>
|
|
| monero_rpc_connection (const boost::optional< std::string > &uri=boost::none, const boost::optional< std::string > &username=boost::none, const boost::optional< std::string > &password=boost::none) |
| |
| rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const |
| |
| std::string | serialize () const |
| |
| virtual rapidjson::Value | to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const =0 |
| |
|
|
boost::optional< std::string > | m_uri |
| |
|
boost::optional< std::string > | m_username |
| |
|
boost::optional< std::string > | m_password |
| |
Models a connection to a daemon.
◆ to_rapidjson_val()
| rapidjson::Value monero::monero_rpc_connection::to_rapidjson_val |
( |
rapidjson::Document::AllocatorType & |
allocator | ) |
const |
|
virtual |
Converts the struct to a rapidjson Value.
- Parameters
-
| allocator | is the rapidjson document allocator |
- Returns
- the struct as a rapidjson Value
Implements monero::serializable_struct.
The documentation for this struct was generated from the following files: