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
等于 HttpClient
,则 detail
将包含以下属性:req
, res
.而 req
属性将是包含 method
、url
、headers
的 <Object>,res
属性将是包含 statusCode
、statusMessage
、headers
的 <Object>。
¥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
等于 HttpRequest
,则 detail
将包含以下属性:req
, res
.而 req
属性将是包含 method
、url
、headers
的 <Object>,res
属性将是包含 statusCode
、statusMessage
、headers
的 <Object>。
¥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.