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

PipelineTransport

public abstract class PipelineTransport : PipelinePolicy
Represents an HTTP pipeline transport used to send and receive HTTP requests and responses.
protected PipelineTransport()

Creates a new instance of the PipelineTransport class.

protected PipelineTransport(bool enableLogging, ILoggerFactory loggerFactory)

Creates a new instance of the PipelineTransport class.

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.

protected abstract PipelineMessage CreateMessageCore()

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

public void Process(PipelineMessage message)

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

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

protected abstract void ProcessCore(PipelineMessage message)

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.

protected abstract ValueTask ProcessCoreAsync(PipelineMessage message)

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.