DVRedisClient class

A minimal RESP2 client: commands out as arrays of bulk strings, replies parsed into Dart values. Covers what the cache adapter needs; not a general Redis library.

Properties

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

Methods

close() → Future<void>
command(List<String> parts) → Future<Object?>
Sends one command and returns its reply.
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

Static Methods

connect({String host = '127.0.0.1', int port = 6379, String? password, DVRedisConnect? connector}) → Future<DVRedisClient>
Connects and authenticates when a password is supplied.