Table of Contents

Class WcsCoverageResponse

Namespace
Honua.Sdk.Coverages.Wcs.Models
Assembly
Honua.Sdk.Coverages.dll

Streaming response returned by a WCS 2.0 GetCoverage request.

public sealed class WcsCoverageResponse : IDisposable, IAsyncDisposable
Inheritance
WcsCoverageResponse
Implements
Inherited Members

Constructors

WcsCoverageResponse(Stream, string?, long?)

Initializes a new instance of WcsCoverageResponse owning content.

public WcsCoverageResponse(Stream content, string? contentType, long? contentLength = null)

Parameters

content Stream
contentType string
contentLength long?

Properties

Content

Coverage payload stream owned by this response.

public Stream Content { get; }

Property Value

Stream

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

string

Methods

Dispose()

Disposes the owned response stream.

public void Dispose()

DisposeAsync()

Asynchronously disposes the owned response stream.

public ValueTask DisposeAsync()

Returns

ValueTask