ISocketsHttpHandlerBuilder 介面

定義

針對 SocketsHttpHandlerIHttpClientFactory傳回的具名HttpClient實例進行設定。

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

屬性

Name

取得這個產生器所設定處理程式的用戶端名稱。

Services

取得應用程式服務集合。

擴充方法

Configure(ISocketsHttpHandlerBuilder, IConfiguration)

用來IConfiguration設定具名 HttpClient的主要 SocketsHttpHandler

Configure(ISocketsHttpHandlerBuilder, Action<SocketsHttpHandler,IServiceProvider>)

新增將用來設定具名 HttpClient 之主要 SocketsHttpHandler 的委派。

適用於