Share via


PipelineTransport Class

Definition

Represents an HTTP pipeline transport used to send and receive HTTP requests and responses.

public abstract class PipelineTransport : System.ClientModel.Primitives.PipelinePolicy
type PipelineTransport = class
    inherit PipelinePolicy
Public MustInherit Class PipelineTransport
Inherits PipelinePolicy
Inheritance
PipelineTransport
Derived

Constructors

PipelineTransport()

Methods

CreateMessage()

Create an instance of PipelineMessage that can be sent using this transport instance. This method will rarely be called directly; CreateMessage() should be called instead.

CreateMessageCore()

Creates a new transport-specific instance of PipelineMessage. Types that derive from PipelineTransport must implement this method to provide transport-specific functionality.

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)

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)

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

ProcessCore(PipelineMessage)

Transport-specific implementation used to sends the HTTP request contained by Request and set the value of Response. Types that derive from PipelineTransport must implement this method to provide transport-specific functionality.

ProcessCoreAsync(PipelineMessage)

Transport-specific implementation used to sends the HTTP request contained by Request and set the value of Response. Types that derive from PipelineTransport must implement this method to provide transport-specific functionality.

Applies to