Share via


SocketsHttpHandlerBuilderExtensions Clase

Definición

Proporciona métodos de extensión para configurar SocketsHttpHandler para las instancias con nombre HttpClient devueltas por IHttpClientFactory.

public ref class SocketsHttpHandlerBuilderExtensions abstract sealed
public static class SocketsHttpHandlerBuilderExtensions
type SocketsHttpHandlerBuilderExtensions = class
Public Module SocketsHttpHandlerBuilderExtensions
Herencia
SocketsHttpHandlerBuilderExtensions

Métodos

Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

Agrega un delegado que se usará para configurar el objeto SocketsHttpHandler principal para un objeto HttpClient con nombre.

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

Usa IConfiguration para configurar el elemento principal SocketsHttpHandler de un objeto con nombre HttpClient.

Se aplica a