PerformanceServerTiming class

Note: This feature is available in Web Workers Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface surfaces server metrics that are sent with the response in the Server-Timing HTTP header. This interface is restricted to the same origin, but you can use the Timing-Allow-Origin 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.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

PerformanceServerTiming()
factory

Properties

description String

Available on PerformanceServerTiming, provided by the PropsPerformanceServerTiming extension

no setter
duration double

Available on PerformanceServerTiming, provided by the PropsPerformanceServerTiming extension

no setter
hashCode int
The hash code for this object.
no setterinherited
name String

Available on PerformanceServerTiming, provided by the PropsPerformanceServerTiming extension

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() → dynamic

Available on PerformanceServerTiming, provided by the PropsPerformanceServerTiming extension

toString() String
A string representation of this object.
inherited

Operators

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