DnsConfig class Core

DNS options for connecting to a cluster.

Volatile: This API is subject to change at any time.

Constructors

DnsConfig({required String nameServer, required int port, Duration dnsSrvTimeout = const Duration(milliseconds: 500)})

Properties

dnsSrvTimeout Duration
The default timeout for DNS SRV operations.
final
hashCode int
The hash code for this object.
no setterinherited
nameServer String
The name server to be used for DNS queries when connecting.
final
port int
The port to be used for DNS queries when connecting.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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