DoH class
Client for DNS lookup using doh json protocol.
Properties
Methods
-
kick(
String name, DohRequestType type) → void - kick the cache
-
lookup<
T extends DoHAnswer> (String domain, DohRequestType type, {bool cache = true, bool dnssec = false, Duration timeout = const Duration(seconds: 5), int attempt = 1}) → Future< List< T> > -
Lookup a
List<DoHAnswer>
, potentially from the cache. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited