PerformanceServerTiming

Overview

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

Location

Properties


description

 

property description: String read;

 

String description { get; }

 

var description: String { get{} }

 

String description { __get; }

 

ReadOnly Property description() As String

duration

 

property duration: Double read;

 

Double duration { get; }

 

var duration: Double { get{} }

 

Double duration { __get; }

 

ReadOnly Property duration() As Double

name

 

property name: String read;

 

String name { get; }

 

var name: String { get{} }

 

String name { __get; }

 

ReadOnly Property name() As String

Required Methods


toJSON

Returns a DOMString that is the JSON representation of the PerformanceServerTiming object.

 

method toJSON: String

 

String toJSON()

 

func toJSON() -> String

 

String toJSON()

 

Function toJSON() As String