mirror of
https://gitee.com/openharmony/communication_netstack
synced 2024-11-27 00:51:24 +00:00
commit
5dc64dd4f0
@ -68,19 +68,19 @@ enum ResponseCode {
|
||||
*/
|
||||
struct PerformanceInfo {
|
||||
/** Time taken from startup to DNS resolution completion, in milliseconds. */
|
||||
double dnsTiming;
|
||||
double dnsTiming = 0.0;
|
||||
/** Time taken from startup to TCP connection completion, in milliseconds. */
|
||||
double connectTiming;
|
||||
double connectTiming = 0.0;
|
||||
/** Time taken from startup to TLS connection completion, in milliseconds. */
|
||||
double tlsTiming;
|
||||
double tlsTiming = 0.0;
|
||||
/** Time taken from startup to start sending the first byte, in milliseconds. */
|
||||
double firstSendTiming;
|
||||
double firstSendTiming = 0.0;
|
||||
/** Time taken from startup to receiving the first byte, in milliseconds. */
|
||||
double firstReceiveTiming;
|
||||
double firstReceiveTiming = 0.0;
|
||||
/** Time taken from startup to the completion of the request, in milliseconds. */
|
||||
double totalTiming;
|
||||
double totalTiming = 0.0;
|
||||
/** Time taken from startup to completion of all redirection steps, in milliseconds. */
|
||||
double redirectTiming;
|
||||
double redirectTiming = 0.0;
|
||||
};
|
||||
|
||||
class HttpClientResponse {
|
||||
|
Loading…
Reference in New Issue
Block a user