Compartilhar via


PipelineTransport.ProcessAsync Method

Definition

Overloads

ProcessAsync(PipelineMessage)

Sends the HTTP request contained by Request and sets the value of Response.

ProcessAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32)

Implementation of Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). Since the transport is the last policy in the ClientPipeline policy chain, this method does not call ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) as other policy implementations do.

ProcessAsync(PipelineMessage)

Source:
PipelineTransport.cs
Source:
PipelineTransport.cs

Sends the HTTP request contained by Request and sets the value of Response.

public System.Threading.Tasks.ValueTask ProcessAsync (System.ClientModel.Primitives.PipelineMessage message);
override this.ProcessAsync : System.ClientModel.Primitives.PipelineMessage -> System.Threading.Tasks.ValueTask
Public Function ProcessAsync (message As PipelineMessage) As ValueTask

Parameters

message
PipelineMessage

The PipelineMessage containing the request that was sent and response that was received by the transport.

Returns

Applies to

ProcessAsync(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32)

Source:
PipelineTransport.cs
Source:
PipelineTransport.cs

Implementation of Process(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32). Since the transport is the last policy in the ClientPipeline policy chain, this method does not call ProcessNext(PipelineMessage, IReadOnlyList<PipelinePolicy>, Int32) as other policy implementations do.

public override sealed System.Threading.Tasks.ValueTask ProcessAsync (System.ClientModel.Primitives.PipelineMessage message, System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> pipeline, int currentIndex);
override this.ProcessAsync : System.ClientModel.Primitives.PipelineMessage * System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> * int -> System.Threading.Tasks.ValueTask
Public Overrides NotOverridable Function ProcessAsync (message As PipelineMessage, pipeline As IReadOnlyList(Of PipelinePolicy), currentIndex As Integer) As ValueTask

Parameters

pipeline
IReadOnlyList<PipelinePolicy>

The collection of policies in the pipeline.

currentIndex
Int32

The index of the current policy being processed in the pipeline invocation.

Returns

Applies to