boost::redis::sentinel_config::setup

A request to be sent to Sentinels upon connection establishment.

Synopsis

Declared in <boost/redis/config.hpp>

request setup = detail::make_hello_request();

Description

This request is executed every time a Sentinel is contacted, and before commands like SENTINEL GET‐MASTER‐NAME‐BY‐ADDR are run. By default, this field contains a HELLO 3 command. You can use this request to set up any authorization required by Sentinels.

This request should ensure that the connection is upgraded to RESP3 by executing HELLO 3 or similar. RESP2 is not supported yet.

Created with MrDocs