PipelineLike interface
An interface for the Pipeline class containing HTTP request policies. You can create a default Pipeline by calling newPipeline. Or you can create a Pipeline with your own policies by the constructor of Pipeline.
Refer to newPipeline and provided policies before implementing your customized Pipeline.
factories | A list of chained request policy factories. |
options | Configures pipeline logger and HTTP client. |
to |
Transfer Pipeline object to ServiceClientOptions object which is required by ServiceClient constructor. |
A list of chained request policy factories.
factories: RequestPolicyFactory[]
Property Value
Configures pipeline logger and HTTP client.
options: PipelineOptions
Property Value
Transfer Pipeline object to ServiceClientOptions object which is required by ServiceClient constructor.
function toServiceClientOptions(): ServiceClientOptions
Returns
The ServiceClientOptions object from this Pipeline.