redis_dart_link 0.0.2 redis_dart_link: ^0.0.2 copied to clipboard
Redis / Resp agreement database client.
Redis client for Dart #
Redis protocol parser and client for Dart
Changes #
Example:
Example: #
import 'package:redis_dart_link/redis_dart_link.dart';
RedisClient client = RedisClient(
socket: RedisSocketOptions(
host: '127.0.0.1',
port: 9527,
password: '123456',
),
);
// Connect to the Redis server.
await client.connect();
try {
await client.ping();
print("ping");
} catch (error, stackTrace) {
print("error: $error");
print("stackTrace: $stackTrace");
}
See more examples in the test folder