<PackageReference Include="Relativity.Kepler" Version="2.23.1" />

KeplerStream

Kepler Response stream.
public string CacheControl { get; set; }

Get/Set cache control header. Default value is empty.

public string ContentDisposition { get; set; }

Get/Set stream content disposition. Default value is empty.

public string ContentType { get; set; }

Get/Set stream content type. Default value is empty.

public NameValueCollection Headers { get; set; }

Get/Set the http Headers for the response.

public Func<Stream, Task> SendStream { get; }

SendStream Func.

public HttpStatusCode? StatusCode { get; set; }

Get/Set the http status code for the stream.

public KeplerStream(Func<Stream, Task> sendStream)

KeplerStream Constructor.

public KeplerStream(Stream sendStream)

KeplerStream Constructor.

protected virtual void Dispose(bool disposing)

Releases the resources used by this object.

public void Dispose()

Releases the resources used by this object.

Get the stream async.