PipelineLike interface
包含 HTTP 要求原則之 Pipeline 類別的介面。 您可以呼叫 newPipeline 來建立預設管線。 或者,您可以透過管線的建構函式,使用您自己的原則建立管線。
請參閱 newPipeline,並在實作自定義管線之前提供原則。
屬性
factories | 鏈結要求原則處理站的清單。 |
options | 設定管線記錄器和 HTTP 用戶端。 |
方法
to |
將 Pipeline 物件傳送至 ServiceClientOptions 物件,這是 ServiceClient 建構函式所需的物件。 |
屬性詳細資料
factories
options
方法詳細資料
toServiceClientOptions()
將 Pipeline 物件傳送至 ServiceClientOptions 物件,這是 ServiceClient 建構函式所需的物件。
function toServiceClientOptions(): ServiceClientOptions
傳回
此管線中的 ServiceClientOptions 物件。