#pragma once #include #include #include #include #include #include #include #ifdef BOOST_ASIO_HAS_CO_AWAIT inline auto redir(boost::system::error_code& ec) { return boost::asio::redirect_error(boost::asio::use_awaitable, ec); } auto start(boost::asio::awaitable op) -> int; #endif // BOOST_ASIO_HAS_CO_AWAIT boost::redis::config make_test_config(); std::string get_server_hostname(); void run( std::shared_ptr conn, boost::redis::config cfg = make_test_config(), boost::system::error_code ec = boost::asio::error::operation_aborted, boost::redis::operation op = boost::redis::operation::receive, boost::redis::logger::level l = boost::redis::logger::level::debug);