Aracılığıyla paylaş


HttpPipeline Constructor

Definition

Creates a new instance of HttpPipeline with the provided transport, policies and response classifier.

public HttpPipeline (Azure.Core.Pipeline.HttpPipelineTransport transport, Azure.Core.Pipeline.HttpPipelinePolicy[]? policies = default, Azure.Core.ResponseClassifier? responseClassifier = default);
new Azure.Core.Pipeline.HttpPipeline : Azure.Core.Pipeline.HttpPipelineTransport * Azure.Core.Pipeline.HttpPipelinePolicy[] * Azure.Core.ResponseClassifier -> Azure.Core.Pipeline.HttpPipeline
Public Sub New (transport As HttpPipelineTransport, Optional policies As HttpPipelinePolicy() = Nothing, Optional responseClassifier As ResponseClassifier = Nothing)

Parameters

transport
HttpPipelineTransport

The HttpPipelineTransport to use for sending the requests.

policies
HttpPipelinePolicy[]

Policies to be invoked as part of the pipeline in order.

responseClassifier
ResponseClassifier

The response classifier to be used in invocations.

Applies to