boost::redis::request::hello

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

Synopsis

Declared in <boost/redis/request.hpp>

void
hello(
    std::string_view username,
    std::string_view password);

Description

Equivalent to the adding the following Redis command:

HELLO 3 AUTH <username> <password>

Parameters

Name Description

username

The ACL username.

password

The password for the user.

Created with MrDocs