clientSetInfo method

Future clientSetInfo(
  1. String attr,
  2. String value, {
  3. bool forceRun = false,
})

CLIENT SETINFO attr value Assigns various info attributes to the current connection (e.g., lib-name, lib-ver).

Implementation

Future<dynamic> clientSetInfo(
  String attr,
  String value, {
  bool forceRun = false,
}) async {
  await checkValkeySupport('CLIENT SETINFO', forceRun: forceRun);
  return execute(['CLIENT', 'SETINFO', attr, value]);
}