Interface IDataClient
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
resourcePathstringThe path to the resource data to stream.
beginDateTimeStart date/time.
endDateTimeEnd date/time.
Returns
GetStreamAsync(string, DateTime, DateTime, CancellationToken)
Gets the requested data.
Task<HttpResponseMessage> GetStreamAsync(string resourcePath, DateTime begin, DateTime end, CancellationToken cancellationToken = default)
Parameters
resourcePathstringThe path to the resource data to stream.
beginDateTimeStart date/time.
endDateTimeEnd date/time.
cancellationTokenCancellationTokenThe token to cancel the current operation.