boost::redis::config
Configure parameters used by the connection classes.
Synopsis
Declared in <boost/redis/config.hpp>
struct config;
Data Members
Name |
Description |
Whether to use TLS instead of plaintext connections. |
|
For TCP connections, hostname and port of the Redis server. Ignored when using Sentinel. |
|
The UNIX domain socket path where the server is listening. |
|
(Deprecated) Username used for authentication during connection establishment. |
|
(Deprecated) Password used for authentication during connection establishment. |
|
(Deprecated) Client name parameter to use during connection establishment. |
|
(Deprecated) Database index to pass to the |
|
Message used by |
|
(Deprecated) Sets the logger prefix, a string printed before log messages. |
|
Time span that the resolve operation is allowed to elapse. When using Sentinel, this setting applies to masters and replicas. |
|
Time span that the connect operation is allowed to elapse. When using Sentinel, this setting applies to masters and replicas. |
|
Time span that the SSL handshake operation is allowed to elapse. When using Sentinel, this setting applies to masters and replicas. |
|
Time span between successive health checks. Set to zero to disable health‐checks. |
|
Time span to wait between successive connection retries. Set to zero to disable reconnection. |
|
Maximum size of the socket read‐buffer in bytes. |
|
Grow size of the read buffer. |
|
Enables using a custom requests during connection establishment. |
|
Request to be executed after connection establishment. |
|
Configuration values for Sentinel. Sentinel is enabled only if |
Created with MrDocs