你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HTTPPolicy Class
An HTTP policy ABC.
Use with a synchronous pipeline.
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]