7#include "sync_connection.hpp"
12namespace net = boost::asio;
13using boost::redis::sync_connection;
18auto main(
int argc,
char * argv[]) ->
int
34 response<std::string> resp;
39 std::cout <<
"Response: " << std::get<0>(resp).value() << std::endl;
41 }
catch (std::exception
const& e) {
42 std::cerr << e.what() << std::endl;
void push(std::string_view cmd, Ts const &... args)
Appends a new command to the end of the request.
address addr
Address of the Redis server.
std::string port
Redis port.
std::string host
Redis host.
std::tuple< adapter::result< Ts >... > response
Response with compile-time size.
Configure parameters used by the connection classes.