Dela via


PipelineTransport.Process Method

Definition

Overloads

Process(PipelineMessage)

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

Process(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.

Process(PipelineMessage)

Source:
PipelineTransport.cs
Source:
PipelineTransport.cs

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

public void Process (System.ClientModel.Primitives.PipelineMessage message);
override this.Process : System.ClientModel.Primitives.PipelineMessage -> unit
Public Sub Process (message As PipelineMessage)

Parameters

message
PipelineMessage

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

Applies to

Process(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 void Process (System.ClientModel.Primitives.PipelineMessage message, System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> pipeline, int currentIndex);
override this.Process : System.ClientModel.Primitives.PipelineMessage * System.Collections.Generic.IReadOnlyList<System.ClientModel.Primitives.PipelinePolicy> * int -> unit
Public Overrides NotOverridable Sub Process (message As PipelineMessage, pipeline As IReadOnlyList(Of PipelinePolicy), currentIndex As Integer)

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.

Applies to