DnsOverHttps.cloudflare constructor

DnsOverHttps.cloudflare(
  1. {Duration timeout}
)

Implementation

factory DnsOverHttps.cloudflare({Duration timeout}) {
  return DnsOverHttps('https://cloudflare-dns.com/dns-query',
      timeout: timeout);
}