Definition at line 21 of file dns_server_mock.hpp.
Classes | |
struct | DnsAnswer |
struct | DnsQuery |
struct | NoAnswer |
Public Types | |
enum class | RecordType { kInvalid = 0 , kA = 1 , kAAAA = 28 , kCname = 5 } |
using | DnsAnswerVector = std::vector<DnsAnswer> |
using | DnsHandler = std::function<DnsAnswerVector(const DnsQuery&)> |
Public Member Functions | |
DnsServerMock (DnsHandler) | |
std::string | GetServerAddress () const |
using utest::DnsServerMock::DnsAnswerVector = std::vector<DnsAnswer> |
Definition at line 44 of file dns_server_mock.hpp.
using utest::DnsServerMock::DnsHandler = std::function<DnsAnswerVector(const DnsQuery&)> |
Definition at line 49 of file dns_server_mock.hpp.
|
strong |
Definition at line 23 of file dns_server_mock.hpp.