pl.wendigo.chrome.api.serviceworker / ServiceWorkerVersion

ServiceWorkerVersion

data class ServiceWorkerVersion (source)

ServiceWorker version.

Link
ServiceWorker#ServiceWorkerVersion type documentation.

Constructors

<init>

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

ServiceWorker version.

Properties

controlledClients

val controlledClients: List<TargetID>?

registrationId

val registrationId: RegistrationID

runningStatus

val runningStatus: ServiceWorkerVersionRunningStatus

scriptLastModified

val scriptLastModified: Double?

The Last-Modified header value of the main script.

scriptResponseTime

val scriptResponseTime: Double?

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.

scriptURL

val scriptURL: String

status

val status: ServiceWorkerVersionStatus

targetId

val targetId: TargetID?

versionId

val versionId: String