ISocketsHttpHandlerBuilder Interfejs

Definicja

Konfiguruje SocketsHttpHandler dla nazwanych HttpClient wystąpień zwracanych przez program IHttpClientFactory.

public interface class ISocketsHttpHandlerBuilder
public interface ISocketsHttpHandlerBuilder
type ISocketsHttpHandlerBuilder = interface
Public Interface ISocketsHttpHandlerBuilder

Właściwości

Name

Pobiera nazwę klienta programu obsługi skonfigurowanego przez tego konstruktora.

Services

Pobiera kolekcję usługi aplikacji.

Metody rozszerzania

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

Używa IConfiguration do konfigurowania podstawowego SocketsHttpHandler dla nazwanego HttpClient.

Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

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

Dotyczy