azure-core
Classes | Namespaces | Functions
policy.hpp File Reference

HTTP transport policies, and their options. More...

#include "azure/core/case_insensitive_containers.hpp"
#include "azure/core/context.hpp"
#include "azure/core/credentials/credentials.hpp"
#include "azure/core/dll_import_export.hpp"
#include "azure/core/http/http.hpp"
#include "azure/core/http/transport.hpp"
#include "azure/core/internal/http/http_sanitizer.hpp"
#include "azure/core/internal/http/user_agent.hpp"
#include "azure/core/uuid.hpp"
#include <atomic>
#include <chrono>
#include <cstddef>
#include <map>
#include <memory>
#include <mutex>
#include <set>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  Azure::Core::Http::Policies::TelemetryOptions
 Telemetry options, used to configure telemetry parameters. More...
 
struct  Azure::Core::Http::Policies::RetryOptions
 The set of options that can be specified to influence how retry attempts are made, and a failure is eligible to be retried. More...
 
struct  Azure::Core::Http::Policies::LogOptions
 Log options that parameterize the information being logged. More...
 
struct  Azure::Core::Http::Policies::TransportOptions
 HTTP transport options parameterize the HTTP transport adapter being used. More...
 
class  Azure::Core::Http::Policies::HttpPolicy
 HTTP policy base class. More...
 
class  Azure::Core::Http::Policies::NextHttpPolicy
 The next HTTP policy in the stack sequence of policies. More...
 

Namespaces

 Azure
 Azure SDK abstractions.
 
 Azure::Core
 Abstractions commonly used by Azure SDK client libraries.
 
 Azure::Core::Http
 Abstractions related to HTTP transport layer.
 
 Azure::Core::Http::Policies
 Abstractions related to controlling the behavior of HTTP requests.
 

Functions

std::shared_ptr< Azure::Core::Http::HttpTransportAzureSdkGetCustomHttpTransport ()
 

Function Documentation

◆ AzureSdkGetCustomHttpTransport()

std::shared_ptr<Azure::Core::Http::HttpTransport> AzureSdkGetCustomHttpTransport ( )

A function that should be implemented and linked to the end-user application in order to override an HTTP transport implementation provided by Azure SDK with custom implementation.

Note
See https://github.com/Azure/azure-sdk-for-cpp/blob/azure-core_1.8.0/doc/HttpTransportAdapter.md#building-a-custom-http-transport-adapter.