Back to Content

PerformanceTiming: connectStart property

files/en-us/web/api/performancetiming/connectstart/index.md

latest966 B
Original Source

{{APIRef("Performance API")}}{{Deprecated_Header}}

[!WARNING] This interface of this property is deprecated in the Navigation Timing Level 2 specification. Please use the {{domxref("PerformanceNavigationTiming")}} interface instead.

The legacy PerformanceTiming.connectStart read-only property returns an unsigned long long representing the moment, in milliseconds since the UNIX epoch, where the request to open a connection is sent to the network. If the transport layer reports an error and the connection establishment is started again, the last connection establishment start time is given. If a persistent connection is used, the value will be the same as {{domxref("PerformanceTiming.fetchStart")}}.

Value

An unsigned long long.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • The {{domxref("PerformanceTiming")}} interface it belongs to.