struct Protocol::ServiceWorker::ServiceWorkerVersion
- Protocol::ServiceWorker::ServiceWorkerVersion
- Struct
- Value
- Object
Overview
ServiceWorker version.
Included Modules
- JSON::Serializable
Defined in:
protocol/service_worker.crConstructors
Instance Method Summary
- #controlled_clients : Array(Target::TargetID) | Nil
- #registration_id : RegistrationID
- #running_status : ServiceWorkerVersionRunningStatus
-
#script_last_modified : Number::Primitive | Nil
The Last-Modified header value of the main script.
-
#script_response_time : Number::Primitive | Nil
The time at which the response headers of the main script were received from the server.
- #script_url : String
- #status : ServiceWorkerVersionStatus
- #target_id : Target::TargetID | Nil
- #version_id : String
Constructor Detail
Instance Method Detail
def script_last_modified : Number::Primitive | Nil
#
The Last-Modified header value of the main script.
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.