RedisClient class

Constructors

RedisClient({String host = 'localhost', int port = 6379, int database = 0, Duration connectionTimeout = const Duration(seconds: 10), String? username, String? password, String? clientName, int protocol = 2, bool tls = false, List<SocketOption> socketOptions = const []})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state RedisConnectionState
no setter

Methods

connect() Future<RedisServerInfo>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send<T extends Object?>(String command, {List<Object?>? args}) Future<RedisReply<T>>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited