ValkeyConnectionSettings class

Holds all configuration options for creating a new connection.

Used by ValkeyPool to create new client instances.

Constructors

ValkeyConnectionSettings({String host = '127.0.0.1', int port = 6379, String? username, String? password, Duration commandTimeout = const Duration(seconds: 10)})

Properties

commandTimeout Duration
The maximum duration to wait for a response to any command. Defaults to 10 seconds.
final
hashCode int
The hash code for this object.
no setterinherited
host String
final
password String?
final
port int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String?
final

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