Loading...
Searching...
No Matches
usage.hpp
/* 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_USAGE_HPP
#define BOOST_REDIS_USAGE_HPP
namespace boost::redis
{
struct usage {
std::size_t commands_sent = 0;
std::size_t bytes_sent = 0;
std::size_t responses_received = 0;
std::size_t pushes_received = 0;
std::size_t response_bytes_received = 0;
std::size_t push_bytes_received = 0;
};
} // boost::redis
#endif // BOOST_REDIS_USAGE_HPP
boost::redis::usage::response_bytes_received
std::size_t response_bytes_received
Number of response-bytes received.
Definition: usage.hpp:35
boost::redis::usage::push_bytes_received
std::size_t push_bytes_received
Number of push-bytes received.
Definition: usage.hpp:38
boost::redis::usage::pushes_received
std::size_t pushes_received
Number of pushes received.
Definition: usage.hpp:32
boost::redis::usage::responses_received
std::size_t responses_received
Number of responses received.
Definition: usage.hpp:29
boost::redis::usage::commands_sent
std::size_t commands_sent
Number of commands sent.
Definition: usage.hpp:23
boost::redis::usage::bytes_sent
std::size_t bytes_sent
Number of bytes sent.
Definition: usage.hpp:26
boost::redis::usage
Connection usage information.
Definition: usage.hpp:21