Class CachedResource
Information about the cached resource.
public sealed record CachedResource : IEquatable<CachedResource>
- Inheritance
-
CachedResource
- Implements
- Inherited Members
Constructors
CachedResource(string, ResourceType, double)
Information about the cached resource.
public CachedResource(string Url, ResourceType Type, double BodySize)
Parameters
UrlstringResource URL. This is the url of the original network request.
TypeResourceTypeType of this resource.
BodySizedoubleCached response body size.
Properties
BodySize
Cached response body size.
public double BodySize { get; init; }
Property Value
Response
Cached response data.
public Response? Response { get; init; }
Property Value
Type
Type of this resource.
public ResourceType Type { get; init; }
Property Value
Url
Resource URL. This is the url of the original network request.
public string Url { get; init; }