HttpPipelinePolicy Class

Definition

Represent an extension point for the HttpPipeline that can mutate the Request and react to received Response.

C#
public abstract class HttpPipelinePolicy
Inheritance
HttpPipelinePolicy
Derived

Constructors

Methods

Process(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>)

Applies the policy to the message. Implementers are expected to mutate Request before calling ProcessNextAsync(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) and observe the Response changes after.

ProcessAsync(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>)

Applies the policy to the message. Implementers are expected to mutate Request before calling ProcessNextAsync(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) and observe the Response changes after.

ProcessNext(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>)

Invokes the next HttpPipelinePolicy in the pipeline.

ProcessNextAsync(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>)

Invokes the next HttpPipelinePolicy in the pipeline.

Applies to

Toode Versioonid
Azure SDK for .NET Latest