NavigationPreloadState Class
The navigation preload state of a registration (https://w3c.github.io/ServiceWorker/#dictdef-navigationpreloadstate).
public sealed class NavigationPreloadStateConstructors
| Name | Description |
|---|---|
| NavigationPreloadState() |
NavigationPreloadState()
public NavigationPreloadState()No documentation is available.
Properties
| Name | Description |
|---|---|
| Enabled | Gets whether the navigation preload is enabled. |
| HeaderValue | Gets the value of the Service-Worker-Navigation-Preload header. |
Enabled
ServiceWorkerTypes.csGets whether the navigation preload is enabled.
public bool Enabled { get; init; }HeaderValue
ServiceWorkerTypes.csGets the value of the Service-Worker-Navigation-Preload header.
public string? HeaderValue { get; init; }