struct Protocol::Network::ResourceTiming

Overview

Timing information for the request.

Included Modules

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def connect_end : Number::Primitive #

Connected to the remote host.


[View source]
def connect_start : Number::Primitive #

Started connecting to the remote host.


[View source]
def dns_end : Number::Primitive #

Finished DNS address resolve.


[View source]
def dns_start : Number::Primitive #

Started DNS address resolve.


[View source]
def proxy_end : Number::Primitive #

Finished resolving proxy.


[View source]
def proxy_start : Number::Primitive #

Started resolving proxy.


[View source]
def push_end : Number::Primitive #

Time the server finished pushing request.


[View source]
def push_start : Number::Primitive #

Time the server started pushing request.


[View source]
def receive_headers_end : Number::Primitive #

Finished receiving response headers.


[View source]
def request_time : Number::Primitive #

Timing's requestTime is a baseline in seconds, while the other numbers are ticks in milliseconds relatively to this requestTime.


[View source]
def send_end : Number::Primitive #

Finished sending request.


[View source]
def send_start : Number::Primitive #

Started sending request.


[View source]
def ssl_end : Number::Primitive #

Finished SSL handshake.


[View source]
def ssl_start : Number::Primitive #

Started SSL handshake.


[View source]
def worker_fetch_start : Number::Primitive #

Started fetch event.


[View source]
def worker_ready : Number::Primitive #

Finished Starting ServiceWorker.


[View source]
def worker_respond_with_settled : Number::Primitive #

Settled fetch event respondWith promise.


[View source]
def worker_start : Number::Primitive #

Started running ServiceWorker.


[View source]