!1662 struct 告警

Merge pull request !1662 from 马千里/master
This commit is contained in:
openharmony_ci 2024-11-06 09:39:49 +00:00 committed by Gitee
commit 5dc64dd4f0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 {