System.ClientModel.Primitives.ClientPipeline
Represents an extensible pipeline used by clients that call cloud services
to send and receive HTTP request and responses. Creators of
ClientPipeline can modify how it process a
PipelineMessage by adding PipelinePolicy
instances at various points in the default pipeline.
Create an instance of a ClientPipeline from the provided
ClientPipelineOptions.
public static ClientPipeline Create(ClientPipelineOptions options, ReadOnlySpan<PipelinePolicy> perCallPolicies, ReadOnlySpan<PipelinePolicy> perTryPolicies, ReadOnlySpan<PipelinePolicy> beforeTransportPolicies)
Create an instance of a ClientPipeline from the provided
ClientPipelineOptions and PipelinePolicy
collections.
Creates a PipelineMessage that can be sent using this
pipeline instance.
public PipelineMessage CreateMessage(Uri uri, string method, PipelineMessageClassifier classifier = null)
Creates a PipelineMessage that can be sent using this
pipeline instance with the specified URI, HTTP method, and response
classifier.
Send the provided PipelineMessage.
Send the provided PipelineMessage using the specified
cancellation token.
Send the provided PipelineMessage.
Send the provided PipelineMessage using the specified
cancellation token.