boost_redis 1.4.2
A redis client library
boost::redis::detail::connection_base< Executor > Class Template Reference

Base class for high level Redis asynchronous connections. More...

#include <include/boost/redis/detail/connection_base.hpp>

Public Types

using executor_type = Executor
 Executor type.
 
using next_layer_type = asio::ssl::stream< asio::basic_stream_socket< asio::ip::tcp, Executor > >
 Type of the next layer.
 

Public Member Functions

 connection_base (executor_type ex, asio::ssl::context::method method, std::size_t max_read_size)
 Constructs from an executor.
 
virtual void cancel (operation op)
 Cancels specific operations.
 
auto get_executor ()
 Returns the associated executor.
 
auto const & get_ssl_context () const noexcept
 Returns the ssl context.
 
auto & get_ssl_context () noexcept
 Returns the ssl context.
 
auto const & next_layer () const noexcept
 Returns a const reference to the next layer.
 
auto & next_layer () noexcept
 Returns a reference to the next layer.
 
void reset_stream ()
 Resets the underlying stream.
 

Detailed Description

template<class Executor>
class boost::redis::detail::connection_base< Executor >

Base class for high level Redis asynchronous connections.

Template Parameters
ExecutorThe executor type.

Definition at line 490 of file connection_base.hpp.


The documentation for this class was generated from the following file: