PreloadingAttemptKey

@Serializable
data class PreloadingAttemptKey(val loaderId: LoaderId, val action: SpeculationAction, val url: String, val targetHint: SpeculationTargetHint? = null)

A key that identifies a preloading attempt.

The url used is the url specified by the trigger (i.e. the initial URL), and not the final url that is navigated to. For example, prerendering allows same-origin main frame navigations during the attempt, but the attempt is still keyed with the initial URL.

Official doc

Constructors

Link copied to clipboard
constructor(loaderId: LoaderId, action: SpeculationAction, url: String, targetHint: SpeculationTargetHint? = null)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
val url: String

(undocumented in the protocol definition)