boost::redis::config
Configure parameters used by the connection classes.
Synopsis
Declared in <boost/redis/config.hpp>
struct config;
Data Members
Name |
Description |
Uses SSL instead of a plain connection. |
|
For TCP connections, hostname and port of the Redis server. |
|
The UNIX domain socket path where the server is listening. |
|
Username used for authentication during connection establishment. |
|
Password used for authentication during connection establishment. |
|
Client name parameter to use during connection establishment. |
|
Database index to pass to the |
|
Message used by the health‐checker in |
|
(Deprecated) Sets the logger prefix, a string printed before log messages. |
|
Time span that the resolve operation is allowed to elapse. |
|
Time span that the connect operation is allowed to elapse. |
|
Time span that the SSL handshake operation is allowed to elapse. |
|
Time span between successive health checks. Set to zero to disable health‐checks pass zero as duration. |
|
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. |
Created with MrDocs