shorebird_redis_client 0.0.4 copy "shorebird_redis_client: ^0.0.4" to clipboard
shorebird_redis_client: ^0.0.4 copied to clipboard

A lightweight Dart client library for communicating with a Redis server. Built by Shorebird.

example/main.dart

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();
}
9
likes
160
pub points
67%
popularity

Publisher

verified publishershorebird.dev

A lightweight Dart client library for communicating with a Redis server. Built by Shorebird.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#redis #cache #shorebird

Documentation

API reference

License

MIT (LICENSE)

Dependencies

resp_client

More

Packages that depend on shorebird_redis_client