Table of Contents

Interface IDataClient

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

Provides methods to interact with data.

public interface IDataClient

Methods

GetStream(string, DateTime, DateTime)

Gets the requested data.

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.

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>