StoredServiceWorkerUrlPattern Class

The URL pattern of a StoredServiceWorkerRouterCondition: the pattern strings of its components (https://urlpattern.spec.whatwg.org/#url-pattern-struct).

public sealed class StoredServiceWorkerUrlPattern

Constructors

NameDescription
StoredServiceWorkerUrlPattern()

StoredServiceWorkerUrlPattern()

ServiceWorkerBackend.cs
public StoredServiceWorkerUrlPattern()

No documentation is available.

Properties

NameDescription
HashGets the pattern of the hash.
HostnameGets the pattern of the hostname.
IgnoreCaseGets whether the pattern ignores the case (https://urlpattern.spec.whatwg.org/#dom-urlpatternoptions-ignorecase).
PasswordGets the pattern of the password.
PathnameGets the pattern of the pathname.
PortGets the pattern of the port.
ProtocolGets the pattern of the protocol.
SearchGets the pattern of the search.
UsernameGets the pattern of the username.

Gets the pattern of the hash.

public string Hash { get; init; }

Property value

string

Gets the pattern of the hostname.

public string Hostname { get; init; }

Property value

string

Gets whether the pattern ignores the case (https://urlpattern.spec.whatwg.org/#dom-urlpatternoptions-ignorecase).

public bool IgnoreCase { get; init; }

Property value

bool

Gets the pattern of the password.

public string Password { get; init; }

Property value

string

Gets the pattern of the pathname.

public string Pathname { get; init; }

Property value

string

Gets the pattern of the port.

public string Port { get; init; }

Property value

string

Gets the pattern of the protocol.

public string Protocol { get; init; }

Property value

string

Gets the pattern of the username.

public string Username { get; init; }

Property value

string