Class ResourceRequestInfo
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
A request that a resource provider serves.
public sealed record ResourceRequestInfo : IEquatable<ResourceRequestInfo>
- Inheritance
-
ResourceRequestInfo
- Implements
- Inherited Members
Remarks
When the cache holds an earlier copy of the resource, the
prior_ fields describe it.
See mln_resource_request_info in the C API reference.
Properties
Kind
public ResourceKind Kind { get; init; }
Property Value
LoadingMethod
public ResourceLoadingMethod LoadingMethod { get; init; }
Property Value
PriorData
public ImmutableArray<byte> PriorData { get; init; }
Property Value
PriorEtag
Empty when the earlier copy has no ETag.
public string PriorEtag { get; init; }
Property Value
PriorExpiresUnixMs
public long? PriorExpiresUnixMs { get; init; }
Property Value
- long?
PriorModifiedUnixMs
public long? PriorModifiedUnixMs { get; init; }
Property Value
- long?
Priority
public ResourcePriority Priority { get; init; }
Property Value
Range
The only bytes of the resource that the request wants.
public ResourceRange? Range { get; init; }
Property Value
RequestedUrl
The URL as the style names it.
public string RequestedUrl { get; init; }
Property Value
ResolvedUrl
The URL to load, after the library expands any shorthand in
requested_url and before any resource transform. Routes match
this URL.
public string ResolvedUrl { get; init; }
Property Value
StoragePolicy
public ResourceStoragePolicy StoragePolicy { get; init; }
Property Value
Usage
public ResourceUsage Usage { get; init; }