ISocketsHttpHandlerBuilder インターフェイス

定義

SocketsHttpHandlerによって返される名前付きHttpClient インスタンスのIHttpClientFactoryを構成します。

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

プロパティ

名前 説明
Name

このビルダーによって構成されたハンドラーのクライアントの名前を取得します。

Services

アプリケーション サービス コレクションを取得します。

拡張メソッド

名前 説明
Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

名前付きSocketsHttpHandlerのプライマリ HttpClientの構成に使用するデリゲートを追加します。

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

IConfigurationを使用して、名前付きHttpClientのプライマリ SocketsHttpHandlerを構成します。

適用対象