StoredServiceWorkerRouterCondition Class
The condition of a StoredServiceWorkerRouterRule (https://w3c.github.io/ServiceWorker/#dictdef-routercondition). A null member is not present; StoredServiceWorkerRouterCondition.Or and StoredServiceWorkerRouterCondition.Not are not combined with the other members.
public sealed class StoredServiceWorkerRouterConditionConstructors
| Name | Description |
|---|---|
| StoredServiceWorkerRouterCondition() |
StoredServiceWorkerRouterCondition()
public StoredServiceWorkerRouterCondition()No documentation is available.
Properties
| Name | Description |
|---|---|
| Not | Gets the condition that must not match, or null. |
| Or | Gets the conditions of which one must match, or null. |
| RequestDestination | Gets the destination (e.g. script, or the empty string), or null. |
| RequestMethod | Gets the normalized method (e.g. POST), or null. |
| RequestMode | Gets the mode (e.g. no-cors), or null. |
| RunningStatus | Gets the running status: running or not-running, or null. |
| UrlPattern | Gets the URL pattern, or null. |
Gets the condition that must not match, or null.
public StoredServiceWorkerRouterCondition? Not { get; init; }Property value
Gets the conditions of which one must match, or null.
public IReadOnlyList<StoredServiceWorkerRouterCondition>? Or { get; init; }Property value
RequestDestination
ServiceWorkerBackend.csRequestMethod
ServiceWorkerBackend.csRequestMode
ServiceWorkerBackend.csRunningStatus
ServiceWorkerBackend.csUrlPattern
ServiceWorkerBackend.csGets the URL pattern, or null.
public StoredServiceWorkerUrlPattern? UrlPattern { get; init; }