Class PreloadingAttemptKey
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.
public sealed record PreloadingAttemptKey : IEquatable<PreloadingAttemptKey>
- Inheritance
-
PreloadingAttemptKey
- Implements
- Inherited Members
Constructors
PreloadingAttemptKey(LoaderId, SpeculationAction, string)
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.
public PreloadingAttemptKey(LoaderId LoaderId, SpeculationAction Action, string Url)
Parameters
LoaderIdLoaderIdActionSpeculationActionUrlstring
Properties
Action
public SpeculationAction Action { get; init; }
Property Value
FormSubmission
public bool? FormSubmission { get; init; }
Property Value
- bool?
LoaderId
public LoaderId LoaderId { get; init; }
Property Value
TargetHint
public SpeculationTargetHint? TargetHint { get; init; }
Property Value
Url
public string Url { get; init; }