HttpPipeline Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET