Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
dns_options Class Reference

#include <couchbase/dns_options.hxx>

Classes

struct  built
 

Public Member Functions

auto timeout (std::chrono::milliseconds duration) -> dns_options &
 
auto nameserver (std::string hostname, std::uint16_t port=53) -> dns_options &
 
auto build () const -> built
 

Static Public Attributes

static constexpr std::chrono::milliseconds default_timeout { 500 }
 

Member Function Documentation

◆ build()

auto build ( ) const -> built
inlinenodiscard

◆ nameserver()

auto nameserver ( std::string hostname,
std::uint16_t port = 53 ) -> dns_options&
inline

◆ timeout()

auto timeout ( std::chrono::milliseconds duration) -> dns_options&
inline

Member Data Documentation

◆ default_timeout

std::chrono::milliseconds default_timeout { 500 }
staticconstexpr

The documentation for this class was generated from the following file: