Table of Contents

Class DataClient

Namespace
Nexus.Api.V1
Assembly
Nexus.Api.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class DataClient : IDataClient
Inheritance
DataClient
Implements
Inherited Members

Methods

GetStream(string, DateTime, DateTime)

Gets the requested data.

public HttpResponseMessage GetStream(string resourcePath, DateTime begin, DateTime end)

Parameters

resourcePath string

The path to the resource data to stream.

begin DateTime

Start date/time.

end DateTime

End date/time.

Returns

HttpResponseMessage

GetStreamAsync(string, DateTime, DateTime, CancellationToken)

Gets the requested data.

public Task<HttpResponseMessage> GetStreamAsync(string resourcePath, DateTime begin, DateTime end, CancellationToken cancellationToken = default)

Parameters

resourcePath string

The path to the resource data to stream.

begin DateTime

Start date/time.

end DateTime

End date/time.

cancellationToken CancellationToken

The token to cancel the current operation.

Returns

Task<HttpResponseMessage>