Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Loading...
Searching...
No Matches
boost::redis::detail::connection_base< Executor > Class Template Reference

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

#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 ctx, std::size_t max_read_size)
 Constructs from an executor.
 
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 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 380 of file connection_base.hpp.


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