SocketsHttpHandlerBuilderExtensions Klasa

Definicja

Udostępnia metody rozszerzenia do konfigurowania 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

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 do konfigurowania podstawowego SocketsHttpHandler dla nazwanego HttpClient.

Dotyczy