PerformanceResourceTiming.secureConnectionStart

The secureConnectionStart property returns a timestamp immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, the property returns zero.

This property is Read only .

Syntax

resource.secureConnectionStart;

Return value

If the resource is fetched over a secure connection, a DOMHighResTimeStamp immediately before the browser starts the handshake process to secure the current connection. If a secure connection is not used, this property returns zero.

Example

In the following example, the value of the *Start and *End properties of all "resource" type events are logged.