Share via


ISocketsHttpHandlerBuilder Rozhraní

Definice

Konfiguruje SocketsHttpHandler pro pojmenované HttpClient instance vrácené nástrojem IHttpClientFactory.

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

Vlastnosti

Name

Získá název klienta pro obslužnou rutinu konfigurovanou tímto tvůrcem.

Services

Získá kolekci aplikační služby.

Metody rozšíření

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

Používá IConfiguration ke konfiguraci primárního SocketsHttpHandler objektu pro pojmenovaný HttpClientobjekt .

Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

Přidá delegáta, který se použije ke konfiguraci primárního SocketsHttpHandler pro pojmenovaný HttpClient.

Platí pro