Boost.Redis

    • Introduction
    • Requests and responses
    • Cancellation and timeouts
    • Serializing and parsing into custom types
    • Logging
    • Sentinel
    • Echo server benchmark
    • Comparison with other Redis clients
    • Examples
    • Reference
    • Acknowledgements
    • Changelog
  • boost::redis::config::setup
arrow_upward

boost::redis::config::setup

Request to be executed after connection establishment.

Synopsis

Declared in <boost/redis/config.hpp>

request setup = detail::make_hello_request();

Description

This member is only used if use_setup is true. Please consult use_setup docs for more info.

By default, setup contains a "HELLO 3" command.

When using Sentinel, this setting applies to masters and replicas. Use sentinel_config::setup for Sentinels.

Created with MrDocs