Types

Link copied to clipboard
@Serializable
data class PrefetchStatusUpdated(val key: PreloadingAttemptKey, val initiatingFrameId: FrameId, val prefetchUrl: String, val status: PreloadingStatus) : PreloadEvent

Fired when a prefetch attempt is updated.

Link copied to clipboard
@Serializable
data class PreloadEnabledStateUpdated(val state: PreloadEnabledState) : PreloadEvent

Fired when a preload enabled state is updated.

Link copied to clipboard
@Serializable
data class PreloadingAttemptSourcesUpdated(val loaderId: LoaderId, val preloadingAttemptSources: List<PreloadingAttemptSource>) : PreloadEvent

Send a list of sources for all preloading attempts in a document.

Link copied to clipboard
@Serializable
data class PrerenderAttemptCompleted(val key: PreloadingAttemptKey, val initiatingFrameId: FrameId, val prerenderingUrl: String, val finalStatus: PrerenderFinalStatus, val disallowedApiMethod: String? = null) : PreloadEvent

Fired when a prerender attempt is completed.

Link copied to clipboard
@Serializable
data class PrerenderStatusUpdated(val key: PreloadingAttemptKey, val initiatingFrameId: FrameId, val prerenderingUrl: String, val status: PreloadingStatus) : PreloadEvent

Fired when a prerender attempt is updated.

Link copied to clipboard
@Serializable
data class RuleSetRemoved(val id: RuleSetId) : PreloadEvent
Link copied to clipboard
@Serializable
data class RuleSetUpdated(val ruleSet: RuleSet) : PreloadEvent

Upsert. Currently, it is only emitted when a rule set added.