userver: clients::http::LocalStats Struct Reference
Loading...
Searching...
No Matches
clients::http::LocalStats Struct Referencefinal

#include <userver/clients/http/local_stats.hpp>

Detailed Description

Represents all the local timings and statistics.

Definition at line 11 of file local_stats.hpp.

Public Types

using duration = std::chrono::steady_clock::time_point::duration
 

Public Attributes

duration time_to_connect {}
 
duration time_to_process {}
 total time
 
size_t open_socket_count = 0
 
size_t retries_count = 0
 

Member Typedef Documentation

◆ duration

using clients::http::LocalStats::duration = std::chrono::steady_clock::time_point::duration

Definition at line 12 of file local_stats.hpp.

Member Data Documentation

◆ open_socket_count

size_t clients::http::LocalStats::open_socket_count = 0

Definition at line 19 of file local_stats.hpp.

◆ retries_count

size_t clients::http::LocalStats::retries_count = 0

returns 0 based retires count. In other words: 0 - the very first request succeeded 1 - made 1 retry 2 - made 2 retries ...

Definition at line 27 of file local_stats.hpp.

◆ time_to_connect

duration clients::http::LocalStats::time_to_connect {}

Definition at line 14 of file local_stats.hpp.

◆ time_to_process

duration clients::http::LocalStats::time_to_process {}

total time

Definition at line 17 of file local_stats.hpp.


The documentation for this struct was generated from the following file: