C# Класс WebApiDoodle.Web.WebHostEx.MessageHandlers.RemoveServerHeaderMessageHandler

A delegating handler which removes the 'Server' header from the response.
Register this as early as possible inside the message handler pipeline because if any unhandled expection occurs during the pipiline and isn't converted into a HttpResponseMessage, this handler won't be able to remove 'Server' header from the response.
Наследование: System.Net.Http.DelegatingHandler
Показать файл Открыть проект

Защищенные методы

Метод Описание
SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task

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

SendAsync() защищенный Метод

protected SendAsync ( HttpRequestMessage request, CancellationToken cancellationToken ) : Task
request System.Net.Http.HttpRequestMessage
cancellationToken System.Threading.CancellationToken
Результат Task