Class OgcCoverageResponse
Streaming response returned by an OGC API Coverages /coverage request.
public sealed class OgcCoverageResponse : IDisposable, IAsyncDisposable
- Inheritance
-
OgcCoverageResponse
- Implements
- Inherited Members
Constructors
OgcCoverageResponse(Stream, OgcCoverageMetadata?)
Initializes a new instance of OgcCoverageResponse owning content.
public OgcCoverageResponse(Stream content, OgcCoverageMetadata? metadata = null)
Parameters
contentStreammetadataOgcCoverageMetadata
Properties
Content
Coverage payload stream owned by this response.
public Stream Content { get; }
Property Value
ContentBbox
Parsed bounding box from the Content-Bbox header, when present.
public IReadOnlyList<double>? ContentBbox { get; }
Property Value
ContentCrs
CRS URI-reference from the Content-Crs header, when present.
public string? ContentCrs { get; }
Property Value
ContentLength
Response content length in bytes, when reported by the server.
public long? ContentLength { get; }
Property Value
- long?
ContentType
Response media type.
public string? ContentType { get; }
Property Value
LinkHeader
Raw Link response header advertising self and alternate encodings, when present.
public string? LinkHeader { get; }
Property Value
Methods
Dispose()
Disposes the owned response stream.
public void Dispose()
DisposeAsync()
Asynchronously disposes the owned response stream.
public ValueTask DisposeAsync()