struct Protocol::ServiceWorker::ServiceWorkerVersion

Overview

ServiceWorker version.

Included Modules

Defined in:

protocol/service_worker.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def controlled_clients : Array(Target::TargetID) | Nil #

[View source]
def registration_id : RegistrationID #

[View source]
def running_status : ServiceWorkerVersionRunningStatus #

[View source]
def script_last_modified : Number::Primitive | Nil #

The Last-Modified header value of the main script.


[View source]
def script_response_time : Number::Primitive | Nil #

The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.


[View source]
def script_url : String #

[View source]

[View source]
def target_id : Target::TargetID | Nil #

[View source]
def version_id : String #

[View source]