CachedRequest Class
A request of a cache entry (https://fetch.spec.whatwg.org/#concept-request).
public sealed class CachedRequestConstructors
| Name | Description |
|---|---|
| CachedRequest() |
CachedRequest()
CacheStorageBackend.cs- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public CachedRequest()No documentation is available.
Properties
| Name | Description |
|---|---|
| Cache | Gets the cache mode. |
| Credentials | Gets the credentials mode (omit, same-origin, include). |
| Headers | Gets the headers. |
| Integrity | Gets the integrity metadata. |
| IsHistoryNavigation | Gets a value indicating whether the request is a history navigation (https://fetch.spec.whatwg.org/#concept-request-history-navigation-flag). |
| IsReloadNavigation | Gets a value indicating whether the request is a reload navigation (https://fetch.spec.whatwg.org/#concept-request-reload-navigation-flag). |
| Method | Gets the method. |
| Mode | Gets the mode (cors, no-cors, same-origin, navigate). |
| Redirect | Gets the redirect mode (follow, error, manual). |
| Referrer | Gets the referrer: client, no-referrer or a URL. |
| ReferrerPolicy | Gets the referrer policy. |
| Url | Gets the URL (with its fragment). |
| UrlWithoutQuery | Gets the URL without its query and its fragment, used to look up the entries. |
Credentials
CacheStorageBackend.csHeaders
CacheStorageBackend.csGets the headers.
public IReadOnlyList<KeyValuePair<string, string>> Headers { get; init; }Property value
Integrity
CacheStorageBackend.csMethod
CacheStorageBackend.csRedirect
CacheStorageBackend.csReferrer
CacheStorageBackend.csReferrerPolicy
CacheStorageBackend.csUrlWithoutQuery
CacheStorageBackend.csMethods
| Name | Description |
|---|---|
| GetUrlWithoutQuery(string) | Returns the URL without its query and its fragment. |