boost::redis::usage :: Boost.Redis

# boost::redis::usage

Connection usage information.

## Synopsis

Declared in `<boost/redis/usage.hpp>`

    struct usage;

## 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.

## 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.
`bytes_rotated` | Number of bytes rotated in the read buffer.

Created with MrDocs