// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.DevTools.Network
{
///
/// Timing information for the request.
///
[System.Runtime.Serialization.DataContractAttribute]
public class ResourceTiming : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Timing's requestTime is a baseline in seconds, while the other numbers are ticks in
/// milliseconds relatively to this requestTime.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("requestTime"), IsRequired = (true))]
public long RequestTime
{
get;
set;
}
///
/// Started resolving proxy.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("proxyStart"), IsRequired = (true))]
public long ProxyStart
{
get;
set;
}
///
/// Finished resolving proxy.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("proxyEnd"), IsRequired = (true))]
public long ProxyEnd
{
get;
set;
}
///
/// Started DNS address resolve.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("dnsStart"), IsRequired = (true))]
public long DnsStart
{
get;
set;
}
///
/// Finished DNS address resolve.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("dnsEnd"), IsRequired = (true))]
public long DnsEnd
{
get;
set;
}
///
/// Started connecting to the remote host.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("connectStart"), IsRequired = (true))]
public long ConnectStart
{
get;
set;
}
///
/// Connected to the remote host.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("connectEnd"), IsRequired = (true))]
public long ConnectEnd
{
get;
set;
}
///
/// Started SSL handshake.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("sslStart"), IsRequired = (true))]
public long SslStart
{
get;
set;
}
///
/// Finished SSL handshake.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("sslEnd"), IsRequired = (true))]
public long SslEnd
{
get;
set;
}
///
/// Started running ServiceWorker.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("workerStart"), IsRequired = (true))]
public long WorkerStart
{
get;
set;
}
///
/// Finished Starting ServiceWorker.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("workerReady"), IsRequired = (true))]
public long WorkerReady
{
get;
set;
}
///
/// Started fetch event.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("workerFetchStart"), IsRequired = (true))]
public long WorkerFetchStart
{
get;
set;
}
///
/// Settled fetch event respondWith promise.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("workerRespondWithSettled"), IsRequired = (true))]
public long WorkerRespondWithSettled
{
get;
set;
}
///
/// Started sending request.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("sendStart"), IsRequired = (true))]
public long SendStart
{
get;
set;
}
///
/// Finished sending request.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("sendEnd"), IsRequired = (true))]
public long SendEnd
{
get;
set;
}
///
/// Time the server started pushing request.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("pushStart"), IsRequired = (true))]
public long PushStart
{
get;
set;
}
///
/// Time the server finished pushing request.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("pushEnd"), IsRequired = (true))]
public long PushEnd
{
get;
set;
}
///
/// Finished receiving response headers.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("receiveHeadersEnd"), IsRequired = (true))]
public long ReceiveHeadersEnd
{
get;
set;
}
}
}