RedisClient constructor
RedisClient({
- RedisSocketOptions? socket,
- RedisCommandOptions command = const RedisCommandOptions(),
- RedisLogger logger = const _NoopRedisLogger(),
A client for interacting with a Redis server. 与Redis服务器交互的客户端。
Implementation
RedisClient({
RedisSocketOptions? socket,
RedisCommandOptions command = const RedisCommandOptions(),
RedisLogger logger = const _NoopRedisLogger(),
}) : _socketOptions = socket ?? RedisSocketOptions(),
_commandOptions = command,
_logger = logger;