40 nameserver_ = hostname;
48 std::optional<std::uint16_t>
port;
62 std::optional<std::string> nameserver_{};
63 std::optional<std::uint16_t> port_{};
Definition dns_options.hxx:28
auto nameserver(std::string hostname, std::uint16_t port=53) -> dns_options &
Definition dns_options.hxx:38
auto build() const -> built
Definition dns_options.hxx:51
auto timeout(std::chrono::milliseconds duration) -> dns_options &
Definition dns_options.hxx:32
static constexpr std::chrono::milliseconds default_timeout
Definition dns_options.hxx:30
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
Definition dns_options.hxx:45
std::chrono::milliseconds timeout
Definition dns_options.hxx:46
std::optional< std::string > nameserver
Definition dns_options.hxx:47
std::optional< std::uint16_t > port
Definition dns_options.hxx:48