shorebird_redis_client 0.0.4 shorebird_redis_client: ^0.0.4 copied to clipboard
A lightweight Dart client library for communicating with a Redis server. Built by Shorebird.
import 'package:shorebird_redis_client/shorebird_redis_client.dart';
Future<void> main() async {
// Create an instance of a RedisClient.
final client = RedisClient();
// Connect to the Redis server.
await client.connect();
// Execute a command.
await client.execute(['PING']); // PONG
// Close the connection.
await client.close();
}