Table of Contents

Class SuppressHostPrincipalMessageHandler

Namespace
System.Web.Http.Hosting
Assembly
System.Web.Http.dll

Represents a message handler that suppresses host authentication results.

public class SuppressHostPrincipalMessageHandler : DelegatingHandler, IDisposable
Inheritance
SuppressHostPrincipalMessageHandler
Implements
Inherited Members

Constructors

SuppressHostPrincipalMessageHandler()

Initializes a new instance of the SuppressHostPrincipalMessageHandler class.

public SuppressHostPrincipalMessageHandler()

Methods

SendAsync(HttpRequestMessage, CancellationToken)

Asynchronously sends a request message.

protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)

Parameters

request HttpRequestMessage

The request message to send.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<HttpResponseMessage>

That task that completes the asynchronous operation.