Skip to content

Type Alias: ResourceTiming ​

ts
type ResourceTiming = object;

Defined in: utils/src/ResourceTiming.ts:7

A subset of the PerformanceResourceTiming interface. https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming

Properties ​

duration ​

ts
duration: number;

Defined in: utils/src/ResourceTiming.ts:26

The difference (in milliseconds) between the responseEnd and the startTime.


encodedBodySize ​

ts
encodedBodySize: number;

Defined in: utils/src/ResourceTiming.ts:16

The size (in octets) of the payload body before removing any applied content encodings.


responseStart? ​

ts
responseStart?: number;

Defined in: utils/src/ResourceTiming.ts:21

A DOMHighResTimeStamp immediately after the browser receives the first byte of the response from the server.


startTime ​

ts
startTime: number;

Defined in: utils/src/ResourceTiming.ts:11

A DOMHighResTimeStamp for the time a resource fetch started.

A Streaming Video Technology Alliance project.