Delen via


HttpPipelineSynchronousPolicy Class

Definition

Represents a HttpPipelinePolicy that doesn't do any asynchronous or synchronously blocking operations.

public abstract class HttpPipelineSynchronousPolicy : Azure.Core.Pipeline.HttpPipelinePolicy
type HttpPipelineSynchronousPolicy = class
    inherit HttpPipelinePolicy
Public MustInherit Class HttpPipelineSynchronousPolicy
Inherits HttpPipelinePolicy
Inheritance
HttpPipelineSynchronousPolicy

Constructors

HttpPipelineSynchronousPolicy()

Initializes a new instance of HttpPipelineSynchronousPolicy

Methods

OnReceivedResponse(HttpMessage)

Method is invoked after the response is received.

OnSendingRequest(HttpMessage)

Method is invoked before the request is sent.

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.

Applies to