Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-17 09:00:17

0001 //
0002 // Copyright (c) 2025 Marcelo Zimbres Silva (mzimbres@gmail.com),
0003 // Ruben Perez Hidalgo (rubenperez038 at gmail dot com)
0004 //
0005 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0006 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 
0009 #ifndef BOOST_REDIS_CONNECTION_STATE_HPP
0010 #define BOOST_REDIS_CONNECTION_STATE_HPP
0011 
0012 #include <boost/redis/config.hpp>
0013 #include <boost/redis/detail/multiplexer.hpp>
0014 #include <boost/redis/logger.hpp>
0015 #include <boost/redis/request.hpp>
0016 #include <boost/redis/response.hpp>
0017 
0018 #include <string>
0019 
0020 namespace boost::redis::detail {
0021 
0022 // Contains all the members in connection that don't depend on the Executor.
0023 // Makes implementing sans-io algorithms easier
0024 struct connection_state {
0025    buffered_logger logger;
0026    config cfg{};
0027    multiplexer mpx{};
0028    std::string setup_diagnostic{};
0029    request ping_req{};
0030 };
0031 
0032 }  // namespace boost::redis::detail
0033 
0034 #endif  // BOOST_REDIS_CONNECTOR_HPP