boost_redis 1.4.2
A redis client library
response.hpp
1/* Copyright (c) 2018-2022 Marcelo Zimbres Silva (mzimbres@gmail.com)
2 *
3 * Distributed under the Boost Software License, Version 1.0. (See
4 * accompanying file LICENSE.txt)
5 */
6
7#ifndef BOOST_REDIS_RESPONSE_HPP
8#define BOOST_REDIS_RESPONSE_HPP
9
10#include <boost/redis/resp3/node.hpp>
11#include <boost/redis/adapter/result.hpp>
12
13#include <vector>
14#include <string>
15#include <tuple>
16
17namespace boost::redis {
18
22template <class... Ts>
23using response = std::tuple<adapter::result<Ts>...>;
24
34
35} // boost::redis::resp3
36
37#endif // BOOST_REDIS_RESPONSE_HPP
system::result< Value, error > result
Stores response to individual Redis commands.
Definition: result.hpp:56
std::tuple< adapter::result< Ts >... > response
Response with compile-time size.
Definition: response.hpp:23
adapter::result< std::vector< resp3::node > > generic_response
A generic response to a request.
Definition: response.hpp:33