HTTP/2('http2')详情
🌐 HTTP/2 ('http2') Details
当 performanceEntry.type 等于 'http2' 时,performanceEntry.detail 属性将是一个 <Object>,其中包含额外的性能信息。
🌐 When performanceEntry.type is equal to 'http2', the
performanceEntry.detail property will be an <Object> containing
additional performance information.
如果 performanceEntry.name 等于 Http2Stream,detail 将包含以下属性:
🌐 If performanceEntry.name is equal to Http2Stream, the detail
will contain the following properties:
bytesRead<number> 此Http2Stream接收到的DATA帧字节数。bytesWritten<number> 此Http2Stream发送的DATA帧字节数。id<number> 关联Http2Stream的标识符timeToFirstByte<number> 从PerformanceEntrystartTime到接收到第一个DATA帧之间经过的毫秒数。timeToFirstByteSent<number>PerformanceEntrystartTime与发送第一个DATA帧之间经过的毫秒数。timeToFirstHeader<number>PerformanceEntrystartTime与接收第一个头之间经过的毫秒数。
如果 performanceEntry.name 等于 Http2Session,detail 将包含以下属性:
🌐 If performanceEntry.name is equal to Http2Session, the detail will
contain the following properties:
bytesRead<number> 接收到的Http2Session字节数。bytesWritten<number> 发送此Http2Session的字节数。framesReceived<number>Http2Session接收到的 HTTP/2 帧的数量。framesSent<number>Http2Session发送的 HTTP/2 帧数量。maxConcurrentStreams<number>Http2Session生命周期内同时打开的最大流数量。pingRTT<number> 自发送PING帧到接收到其确认所经过的毫秒数。只有在Http2Session上发送了PING帧时才会出现。streamAverageDuration<number> 所有Http2Stream实例的平均持续时间(毫秒)。streamCount<number>Http2Session处理的Http2Stream实例数量。type<string> 使用'server'或'client'来识别Http2Session的类型。