7#ifndef BOOST_REDIS_CONFIG_HPP
8#define BOOST_REDIS_CONFIG_HPP
22 std::string
host =
"127.0.0.1";
address addr
Address of the Redis server.
std::string clientname
Client name parameter of the HELLO command.
std::string health_check_id
Message used by the health-checker in boost::redis::connection::async_run.
std::string password
Password passed to the HELLO command. If left empty HELLO will be sent without authentication paramet...
std::string port
Redis port.
std::chrono::steady_clock::duration reconnect_wait_interval
Time waited before trying a reconnection.
std::optional< int > database_index
Database that will be passed to the SELECT command.
std::chrono::steady_clock::duration ssl_handshake_timeout
Time the SSL handshake operation is allowed to last.
std::chrono::steady_clock::duration health_check_interval
bool use_ssl
Uses SSL instead of a plain connection.
std::chrono::steady_clock::duration connect_timeout
Time the connect operation is allowed to last.
std::chrono::steady_clock::duration resolve_timeout
Time the resolve operation is allowed to last.
std::string log_prefix
Logger prefix, see boost::redis::logger.
std::string username
Username passed to the HELLO command. If left empty HELLO will be sent without authentication paramet...
std::string host
Redis host.
Address of a Redis server.
Configure parameters used by the connection classes.