boost::redis::config::clientname

Client name parameter to use during connection establishment.

Synopsis

Declared in <boost/redis/config.hpp>

std::string clientname = "Boost.Redis";

Description

If use_setup is false (the default), during connection establishment, a HELLO command is sent. If this field is not empty, the HELLO command will contain a SETNAME subcommand containing this value.

When using Sentinel, this setting applies to masters and replicas. Use sentinel_config::setup to configure this value for Sentinels.

Created with MrDocs