SocketsHttpHandlerBuilderExtensions Třída

Definice

Poskytuje rozšiřující metody konfigurace SocketsHttpHandler pro pojmenované HttpClient instance vrácené nástrojem IHttpClientFactory.

public ref class SocketsHttpHandlerBuilderExtensions abstract sealed
public static class SocketsHttpHandlerBuilderExtensions
type SocketsHttpHandlerBuilderExtensions = class
Public Module SocketsHttpHandlerBuilderExtensions
Dědičnost
SocketsHttpHandlerBuilderExtensions

Metody

Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

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

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

Používá IConfiguration ke konfiguraci primárního SocketsHttpHandler objektu s názvem HttpClient.

Platí pro