Skip to main content

Definition

Assembly: Microsoft.Extensions.Http.dll Namespace: Microsoft.Extensions.DependencyInjection

Syntax

Summary

This type is defined in Microsoft.Extensions.Http.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

AddHttpMessageHandler Extension

Extension method from Microsoft.Extensions.DependencyInjection.EasyAF_Http_IHttpClientBuilderExtensions
Given the HttpHandlerMode, adds the specified THandler to the beginning or end of the pipeline.

Syntax

Parameters

Returns

Type: Microsoft.Extensions.DependencyInjection.IHttpClientBuilder The IHttpClientBuilder instance for method chaining.

Type Parameters