HTTP policy base class.
More...
#include <policy.hpp>
Inherited by Azure::Core::Http::Policies::_internal::BearerTokenAuthenticationPolicy, Azure::Core::Http::Policies::_internal::LogPolicy, Azure::Core::Http::Policies::_internal::RequestActivityPolicy, Azure::Core::Http::Policies::_internal::RequestIdPolicy, Azure::Core::Http::Policies::_internal::RetryPolicy, Azure::Core::Http::Policies::_internal::TelemetryPolicy, and Azure::Core::Http::Policies::_internal::TransportPolicy.
- Note
- An HTTP pipeline inside SDK clients is an stack sequence of HTTP policies.
-
See https://azure.github.io/azure-sdk/general_azurecore.html#the-http-pipeline.
◆ HttpPolicy() [1/2]
Azure::Core::Http::Policies::HttpPolicy::HttpPolicy |
( |
const HttpPolicy & |
other | ) |
|
|
protecteddefault |
- Parameters
-
other | Other HttpPolicy to copy. |
◆ HttpPolicy() [2/2]
Azure::Core::Http::Policies::HttpPolicy::HttpPolicy |
( |
HttpPolicy && |
other | ) |
|
|
protecteddefault |
- Parameters
-
other | Other HttpPolicy to move. |
◆ Clone()
virtual std::unique_ptr<HttpPolicy> Azure::Core::Http::Policies::HttpPolicy::Clone |
( |
| ) |
const |
|
pure virtual |
- Returns
- A clone of this
HttpPolicy
.
◆ operator=()
- Parameters
-
other | Other HttpPolicy to copy. |
- Returns
- A reference to this
HttpPolicy
.
◆ Send()
- Parameters
-
request | An HTTP request being sent. |
nextPolicy | The next HTTP to invoke after this policy has been applied. |
context | A context to control the request lifetime. |
- Returns
- An HTTP response after this policy, and all subsequent HTTP policies in the stack sequence of policies have been applied.
The documentation for this class was generated from the following file: