ServiceWorkerVersion

@Serializable
data class ServiceWorkerVersion(val versionId: String, val registrationId: RegistrationID, val scriptURL: String, val runningStatus: ServiceWorkerVersionRunningStatus, val status: ServiceWorkerVersionStatus, val scriptLastModified: Double? = null, val scriptResponseTime: Double? = null, val controlledClients: List<TargetID>? = null, val targetId: TargetID? = null, val routerRules: String? = null)

ServiceWorker version.

Official doc

Constructors

Link copied to clipboard
constructor(versionId: String, registrationId: RegistrationID, scriptURL: String, runningStatus: ServiceWorkerVersionRunningStatus, status: ServiceWorkerVersionStatus, scriptLastModified: Double? = null, scriptResponseTime: Double? = null, controlledClients: List<TargetID>? = null, targetId: TargetID? = null, routerRules: String? = null)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
val routerRules: String? = null

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

The Last-Modified header value of the main script.

Link copied to clipboard

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.

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
val targetId: TargetID? = null

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)