HTTPPolicy Class
An HTTP policy ABC.
Use with a synchronous pipeline.
- Inheritance
-
HTTPPolicyHTTPPolicy
Constructor
HTTPPolicy()
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: PipelineRequest[HTTPRequestType]) -> PipelineResponse[HTTPRequestType, HTTPResponseType]
Parameters
Name | Description |
---|---|
request
Required
|
The pipeline request object |
Returns
Type | Description |
---|---|
The pipeline response object. |
Attributes
next
Pointer to the next policy or a transport (wrapped as a policy). Will be set at pipeline creation.
next: HTTPPolicy[HTTPRequestType, HTTPResponseType]
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Python