HttpClientFactoryServiceCollectionExtensions クラス

定義

IServiceCollectionIHttpClientFactoryを構成する拡張メソッド。

public ref class HttpClientFactoryServiceCollectionExtensions abstract sealed
public static class HttpClientFactoryServiceCollectionExtensions
type HttpClientFactoryServiceCollectionExtensions = class
Public Module HttpClientFactoryServiceCollectionExtensions
継承
HttpClientFactoryServiceCollectionExtensions

メソッド

名前 説明
AddHttpClient(IServiceCollection, String, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、名前付きHttpClientを構成します。

AddHttpClient(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、名前付きHttpClientを構成します。

AddHttpClient(IServiceCollection, String)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、名前付きHttpClientを構成します。

AddHttpClient(IServiceCollection)

IHttpClientFactoryIServiceCollectionおよび関連サービスを追加します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient,TImplementation>(IServiceCollection, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,IServiceProvider,TImplementation>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, Func<HttpClient,TImplementation>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,IServiceProvider,TImplementation>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String, Func<HttpClient,TImplementation>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection, String)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient,TImplementation>(IServiceCollection)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient>(IServiceCollection, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient>(IServiceCollection, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

AddHttpClient<TClient>(IServiceCollection, String, Action<HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient>(IServiceCollection, String, Action<IServiceProvider,HttpClient>)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient>(IServiceCollection, String)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。

AddHttpClient<TClient>(IServiceCollection)

IHttpClientFactoryおよび関連サービスをIServiceCollectionに追加し、TClient型と名前付きHttpClientの間のバインディングを構成します。 クライアント名は、 TClientの型名に設定されます。

ConfigureHttpClientDefaults(IServiceCollection, Action<IHttpClientBuilder>)

すべての HttpClient インスタンスの構成に使用されるデリゲートを追加します。

適用対象