boost::redis::request::hello_setname
Appends a HELLO 3 command with AUTH and SETNAME to the end of the request.
Synopsis
Declared in <boost/redis/request.hpp>
void
hello_setname(
std::string_view username,
std::string_view password,
std::string_view client_name);
Description
Equivalent to adding the following Redis command:
HELLO 3 AUTH <username> <password> SETNAME <client_name>
Parameters
| Name | Description |
|---|---|
username |
The ACL username. |
password |
The password for the user. |
client_name |
The client name (visible in CLIENT LIST). |
Created with MrDocs