Monero C++ Library
Loading...
Searching...
No Matches
monero::monero_rpc_connection Struct Reference

#include <monero_daemon_model.h>

Inheritance diagram for monero::monero_rpc_connection:
monero::serializable_struct

Public Member Functions

 monero_rpc_connection (const std::string &uri="", const std::string &username="", const std::string &password="")
 
rapidjson::Value to_rapidjson_val (rapidjson::Document::AllocatorType &allocator) const
 
- Public Member Functions inherited from monero::serializable_struct
std::string serialize () const
 

Static Public Member Functions

static monero_rpc_connection from_property_tree (const boost::property_tree::ptree &node)
 

Public Attributes

boost::optional< std::string > m_uri
 
boost::optional< std::string > m_username
 
boost::optional< std::string > m_password
 

Detailed Description

Models a connection to a daemon.

Member Function Documentation

◆ 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
allocatoris 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: