boost::redis::request::hello_setname

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

Synopsis

Declared in <boost/redis/request.hpp>

void
hello_setname(std::string_view client_name);

Description

Equivalent to adding the following Redis command:

HELLO 3 SETNAME <client_name>

Parameters

Name Description

client_name

The client name (visible in CLIENT LIST).

Created with MrDocs