mirror of
https://github.com/boostorg/redis.git
synced 2026-01-19 04:42:09 +00:00
26 lines
697 B
C++
26 lines
697 B
C++
/* Copyright (c) 2018-2024 Marcelo Zimbres Silva (mzimbres@gmail.com)
|
|
*
|
|
* Distributed under the Boost Software License, Version 1.0. (See
|
|
* accompanying file LICENSE.txt)
|
|
*/
|
|
|
|
#ifndef BOOST_REDIS_SETUP_REQUEST_UTILS_HPP
|
|
#define BOOST_REDIS_SETUP_REQUEST_UTILS_HPP
|
|
|
|
#include <boost/redis/config.hpp>
|
|
#include <boost/redis/request.hpp>
|
|
#include <boost/redis/response.hpp>
|
|
|
|
namespace boost::redis::detail {
|
|
|
|
// Modifies config::setup to make a request suitable to be sent
|
|
// to the server using async_exec
|
|
void compose_setup_request(config& cfg);
|
|
|
|
// Completely clears a response
|
|
void clear_response(generic_response& res);
|
|
|
|
} // namespace boost::redis::detail
|
|
|
|
#endif // BOOST_REDIS_RUNNER_HPP
|