net-cpp  1.1.0
C++11 library for networking purposes
core::net::http::Client::Timings Struct Reference

Summarizes timing information about completed requests. More...

#include <client.h>

+ Collaboration diagram for core::net::http::Client::Timings:

Classes

struct  Statistics
 

Public Types

typedef std::chrono::duration
< double > 
Seconds
 

Public Attributes

Statistics name_look_up {}
 
Statistics connect {}
 
Statistics app_connect {}
 
Statistics pre_transfer {}
 
Statistics start_transfer {}
 
Statistics total {}
 

Detailed Description

Summarizes timing information about completed requests.

Definition at line 61 of file client.h.

Member Typedef Documentation

typedef std::chrono::duration<double> core::net::http::Client::Timings::Seconds

Definition at line 63 of file client.h.

Member Data Documentation

Statistics core::net::http::Client::Timings::app_connect {}

Time it took from the connect until the SSL/SSH connect/handshake to the remote host was completed.

Definition at line 86 of file client.h.

Statistics core::net::http::Client::Timings::connect {}

Time it took from the finished name lookup until the connect to the remote host (or proxy) was completed.

Definition at line 82 of file client.h.

Statistics core::net::http::Client::Timings::name_look_up {}

Time it took from the start until the name resolving was completed.

Definition at line 78 of file client.h.

Statistics core::net::http::Client::Timings::pre_transfer {}

Time it took from app_connect until the file transfer is just about to begin.

Definition at line 88 of file client.h.

Statistics core::net::http::Client::Timings::start_transfer {}

Time it took from pre-transfer until the first byte is received by libcurl.

Definition at line 90 of file client.h.

Statistics core::net::http::Client::Timings::total {}

Time in total that the previous transfer took.

Definition at line 92 of file client.h.


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