boost::redis::request::hello_setname

hello_setname overloads

Synopses

Declared in <boost/redis/request.hpp>

Appends a HELLO 3 command with SETNAME to the end of the request.

void
hello_setname(std::string_view client_name);

Appends a HELLO 3 command with AUTH and SETNAME to the end of the request.

void
hello_setname(
    std::string_view username,
    std::string_view password,
    std::string_view client_name);

Parameters

Name Description

client_name

The client name (visible in CLIENT LIST).

username

The ACL username.

password

The password for the user.

Created with MrDocs