HTTPPolicy Class

An HTTP policy ABC.

Use with a synchronous pipeline.

Inheritance
HTTPPolicy
HTTPPolicy

Constructor

HTTPPolicy()

Parameters

next
HTTPPolicy or HttpTransport
Required

Use to process the next policy in the pipeline. Set when pipeline is instantiated and all policies chained.

Methods

send

Abstract send method for a synchronous pipeline. Mutates the request.

Context content is dependent on the HttpTransport.

send

Abstract send method for a synchronous pipeline. Mutates the request.

Context content is dependent on the HttpTransport.

abstract send(request: azure.core.pipeline.PipelineRequest) -> azure.core.pipeline.PipelineResponse

Parameters

request
PipelineRequest
Required

The pipeline request object

Returns

The pipeline response object.

Return type