Reference

boost::redis::usage

Connection usage information.

Synopsis

Declared in <boost/redis/usage.hpp>

struct usage;

Data Members

Name

Description

commands_sent

Number of commands sent.

bytes_sent

Number of bytes sent.

responses_received

Number of responses received.

pushes_received

Number of pushes received.

response_bytes_received

Number of response‐bytes received.

push_bytes_received

Number of push‐bytes received.

Description

To simplify the implementation, commands_sent and bytes_sent are computed just before writing to the socket. On error, they might not represent exactly what has been received by the Redis server.

Created with MrDocs