Reference
boost::redis::basic_connection
A SSL connection to the Redis server.
Synopsis
Declared in <boost/redis/connection.hpp>
template<class Executor>
class basic_connection;
Types
Name |
Description |
Rebinds the socket type to another executor. |
|
(Deprecated) Type of the next layer |
|
The type of the executor associated to this object. |
Member Functions
Name |
Description |
|
Constructors |
Returns the associated executor. |
|
|
|
Receives server side pushes asynchronously. |
|
Receives server pushes synchronously without blocking. |
|
Executes commands on the Redis server asynchronously. |
|
Cancel operations. |
|
Returns true if the connection will try to reconnect if an error is encountered. |
|
(Deprecated) Returns the ssl context. |
|
(Deprecated) Resets the underlying stream. |
|
(Deprecated) Returns a reference to the next layer. |
|
Sets the response object of |
|
Returns connection usage information. |
Friends
Name |
Description |
A basic_connection that type erases the executor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A basic_connection that type erases the executor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Description
This class keeps a healthy connection to the Redis instance where commands can be sent at any time. For more details, please see the documentation of each individual function.
Template Parameters
Name |
Description |
Executor |
The executor type used to create any required I/O objects. |
Created with MrDocs