<PackageReference Include="System.ClientModel" Version="1.7.0" />

ClientPipeline

public sealed class 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.
public static ClientPipeline Create(ClientPipelineOptions options = null)

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.

public void Send(PipelineMessage message)

Send the provided PipelineMessage.

Send the provided PipelineMessage.