HTTP('http')详情


【HTTP ('http') Details】

performanceEntry.type 等于 'http' 时,performanceNodeEntry.detail 属性将是一个 <Object>,其中包含额外信息。

【When performanceEntry.type is equal to 'http', the performanceNodeEntry.detail property will be an <Object> containing additional information.】

如果 performanceEntry.name 等于 HttpClientdetail 将包含以下属性:reqres。其中 req 属性将是一个 <Object>,包含 methodurlheaders,而 res 属性将是一个 <Object>,包含 statusCodestatusMessageheaders

【If performanceEntry.name is equal to HttpClient, the detail will contain the following properties: req, res. And the req property will be an <Object> containing method, url, headers, the res property will be an <Object> containing statusCode, statusMessage, headers.】

如果 performanceEntry.name 等于 HttpRequestdetail 将包含以下属性:reqres。其中 req 属性将是一个 <Object>,包含 methodurlheaders,而 res 属性将是一个 <Object>,包含 statusCodestatusMessageheaders

【If performanceEntry.name is equal to HttpRequest, the detail will contain the following properties: req, res. And the req property will be an <Object> containing method, url, headers, the res property will be an <Object> containing statusCode, statusMessage, headers.】

这可能会增加额外的内存开销,应仅用于诊断目的,不应在生产环境中默认开启。

【This could add additional memory overhead and should only be used for diagnostic purposes, not left turned on in production by default.】