A name server address and optional port.
More...
#include <dns_options.hpp>
A name server address and optional port.
Definition at line 35 of file dns_options.hpp.
◆ from_json()
void openvpn::DnsAddress::from_json |
( |
const Json::Value & |
root, |
|
|
const std::string & |
title |
|
) |
| |
|
inline |
◆ operator==()
bool openvpn::DnsAddress::operator== |
( |
const DnsAddress & |
| ) |
const |
|
default |
◆ to_json()
Json::Value openvpn::DnsAddress::to_json |
( |
| ) |
const |
|
inline |
◆ to_string()
std::string openvpn::DnsAddress::to_string |
( |
| ) |
const |
|
inline |
Return string representation of the DnsAddress object.
- Returns
- std::string the string representation generated
Definition at line 42 of file dns_options.hpp.
◆ validate()
void openvpn::DnsAddress::validate |
( |
const std::string & |
title | ) |
const |
|
inline |
◆ address
std::string openvpn::DnsAddress::address |
◆ port
unsigned int openvpn::DnsAddress::port = 0 |
The documentation for this class was generated from the following file: