ISocketsHttpHandlerBuilder Interface

Définition

Configure pour les instances nommées HttpClient retournées SocketsHttpHandler par IHttpClientFactory.

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

Propriétés

Name

Obtient le nom du client pour un gestionnaire configuré par ce générateur.

Services

Obtient la collection de service d’application.

Méthodes d’extension

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

Utilise IConfiguration pour configurer le principal SocketsHttpHandler pour un nommé HttpClient.

Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

Ajoute un délégué qui sera utilisé afin de configurer le SocketsHttpHandler principal pour un HttpClient nommé.

S’applique à