C# Класс openHistorian.ExportDataHandler

Handles downloading of exported historian data.
Наследование: IHostedHttpHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
GetContentHash ( HttpRequestMessage request ) : long

Gets hash of response content based on any request parameters.

Value is only used when IHostedHttpHandler.UseClientCache is true.

ProcessRequestAsync ( HttpRequestMessage request, HttpResponseMessage response, CancellationToken cancellationToken ) : Task

Enables processing of HTTP web requests by a custom handler that implements the IHostedHttpHandler interface.

Приватные методы

Метод Описание
CopyModelAsCsvToStreamAsync ( NameValueCollection requestParameters, Stream responseStream, CancellationToken cancellationToken ) : Task
ExportDataHandler ( ) : System
GetHeaders ( DataContext dataContext, IEnumerable pointIDs ) : string

Описание методов

GetContentHash() публичный Метод

Gets hash of response content based on any request parameters.
Value is only used when IHostedHttpHandler.UseClientCache is true.
public GetContentHash ( HttpRequestMessage request ) : long
request System.Net.Http.HttpRequestMessage HTTP request message.
Результат long

ProcessRequestAsync() публичный Метод

Enables processing of HTTP web requests by a custom handler that implements the IHostedHttpHandler interface.
public ProcessRequestAsync ( HttpRequestMessage request, HttpResponseMessage response, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage HTTP request message.
response System.Net.Http.HttpResponseMessage HTTP response message.
cancellationToken System.Threading.CancellationToken Propagates notification from client that operations should be canceled.
Результат Task