語言

ISocketsHttpHandlerBuilder 介面

定義

為命名SocketsHttpHandler實例配置HttpClient,回傳 IHttpClientFactory。

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

屬性

名稱 Description
Name

取得由此建構者設定的處理器的客戶端名稱。

Services

取得應用程式服務集合。

擴充方法

名稱 Description
Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

新增一個代理,用於設定命名SocketsHttpHandler的主節點HttpClient。

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

用於 IConfiguration 設定 SocketsHttpHandler 命名 HttpClient為 的 。

適用於