AsyncHTTPPolicy Class

An async HTTP policy ABC.

Use with an asynchronous pipeline.

Inheritance
AsyncHTTPPolicy
AsyncHTTPPolicy

Constructor

AsyncHTTPPolicy()

Parameters

next
AsyncHTTPPolicy or AsyncHttpTransport
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 asynchronous pipeline. Mutates the request.

Context content is dependent on the HttpTransport.

send

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

Context content is dependent on the HttpTransport.

abstract async send(request: azure.core.pipeline.PipelineRequest)

Parameters

request
PipelineRequest
Required

The pipeline request object.

Returns

The pipeline response object.

Return type