NavigationPreloadState Class

The navigation preload state of a registration (https://w3c.github.io/ServiceWorker/#dictdef-navigationpreloadstate).

public sealed class NavigationPreloadState

Constructors

NameDescription
NavigationPreloadState()

NavigationPreloadState()

public NavigationPreloadState()

No documentation is available.

Properties

NameDescription
EnabledGets whether the navigation preload is enabled.
HeaderValueGets the value of the Service-Worker-Navigation-Preload header.

Gets whether the navigation preload is enabled.

public bool Enabled { get; init; }

Gets the value of the Service-Worker-Navigation-Preload header.

public string? HeaderValue { get; init; }