Network statistics with information on the outbound and inbound trafic during API calls.
More...
#include <HttpResponse.h>
Network statistics with information on the outbound and inbound trafic during API calls.
◆ NetworkStatistics()
olp::client::NetworkStatistics::NetworkStatistics |
( |
uint64_t |
bytes_uploaded, |
|
|
uint64_t |
bytes_downloaded |
|
) |
| |
|
inline |
Creates the NetworkStatistics
instance.
- Parameters
-
bytes_uploaded | The number of bytes of outbound traffic during API call. |
bytes_downloaded | The number of bytes of inbound traffic during API call. |
◆ GetBytesDownloaded()
uint64_t olp::client::NetworkStatistics::GetBytesDownloaded |
( |
| ) |
const |
|
inline |
Get the number of bytes of inbound traffic.
- Returns
- Number of bytes.
◆ GetBytesUploaded()
uint64_t olp::client::NetworkStatistics::GetBytesUploaded |
( |
| ) |
const |
|
inline |
Get the number of bytes of outbound traffic.
- Returns
- Number of bytes.
The documentation for this class was generated from the following file: