7#include "sync_connection.hpp"
12using boost::redis::sync_connection;
17auto main(
int argc,
char * argv[]) ->
int
33 response<std::string> resp;
38 std::cout <<
"Response: " << std::get<0>(resp).value() << std::endl;
40 }
catch (std::exception
const& e) {
41 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.