chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.serviceworker / ServiceWorkerVersion

ServiceWorkerVersion

data class ServiceWorkerVersion

ServiceWorker version.

Official doc

Constructors

<init>

ServiceWorker version.

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

Properties

controlledClients

val controlledClients: List<TargetID>?

registrationId

val registrationId: RegistrationID

runningStatus

val runningStatus: ServiceWorkerVersionRunningStatus

scriptLastModified

The Last-Modified header value of the main script.

val scriptLastModified: Double?

scriptResponseTime

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.

val scriptResponseTime: Double?

scriptURL

val scriptURL: String

status

val status: ServiceWorkerVersionStatus

targetId

val targetId: TargetID?

versionId

val versionId: String