Język

SocketsHttpHandlerBuilderExtensions Klasa

Definicja

Metody rozszerzenia do skonfigurowania SocketsHttpHandler dla nazwanych HttpClient wystąpień zwracanych przez IHttpClientFactory.

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

Metody

Nazwisko Opis
Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

Dodaje delegata, który będzie używany do konfigurowania podstawowego SocketsHttpHandler elementu o nazwie HttpClient.

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

Używa IConfiguration metody , aby skonfigurować element podstawowy SocketsHttpHandler dla nazwy HttpClient.

Dotyczy