ServiceWorkerVersion

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

ServiceWorker version.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val routerRules: String? = null
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
Link copied to clipboard
val targetId: String? = null
Link copied to clipboard