Leer en inglés Editar

Compartir a través de


HttpClientFactoryExtensions Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Extensions methods for IHttpClientFactory.

C#
public static class HttpClientFactoryExtensions
Inheritance
HttpClientFactoryExtensions

Methods

CreateClient(IHttpClientFactory)

Creates a new HttpClient using the default configuration.

Applies to

Producto Versiones
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)