PerformanceServerTiming extension type

The PerformanceServerTiming interface surfaces server metrics that are sent with the response in the HTTP header.

This interface is restricted to the same origin, but you can use the header to specify the domains that are allowed to access the server metrics. Note that this interface is only available in secure contexts (HTTPS) in some browsers.


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Properties

description String
The description read-only property returns a string value of the server-specified metric description, or an empty string.
no setter
duration double
The duration read-only property returns a double that contains the server-specified metric duration, or the value 0.0.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
The name read-only property returns a string value of the server-specified metric name.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() JSObject
The toJSON() method of the PerformanceServerTiming interface is a ; it returns a JSON representation of the PerformanceServerTiming object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited