ClientHandler ClientHandler ClientHandler Class

Definition

This adapts HttpRequestMessages to ASP.NET Core requests, dispatches them through the pipeline, and returns the associated HttpResponseMessage.

public class ClientHandler : System.Net.Http.HttpMessageHandler
type ClientHandler = class
    inherit HttpMessageHandler
Public Class ClientHandler
Inherits HttpMessageHandler
Inheritance
ClientHandlerClientHandlerClientHandler

Constructors

ClientHandler(PathString, IHttpApplication<HostingApplication>) ClientHandler(PathString, IHttpApplication<HostingApplication>) ClientHandler(PathString, IHttpApplication<HostingApplication>)

Create a new handler.

Methods

SendAsync(HttpRequestMessage, CancellationToken) SendAsync(HttpRequestMessage, CancellationToken) SendAsync(HttpRequestMessage, CancellationToken)

This adapts HttpRequestMessages to ASP.NET Core requests, dispatches them through the pipeline, and returns the associated HttpResponseMessage.

Applies to