ResolveDnsOptions class

Options which can be set when using {@linkcode Deno.resolveDns}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

ResolveDnsOptions({IInline14? nameServer, AbortSignal? signal})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
nameServer ↔ dynamic

Available on ResolveDnsOptions, provided by the ResolveDnsOptions$Typings extension

The name server to be used for lookups.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signal AbortSignal?

Available on ResolveDnsOptions, provided by the ResolveDnsOptions$Typings extension

An abort signal to allow cancellation of the DNS resolution operation. If the signal becomes aborted the resolveDns operation will be stopped and the promise returned will be rejected with an AbortError.
getter/setter pair

Methods

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