AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Aws::Crt::Http::HttpProxyStrategy Class Reference

#include <HttpProxyStrategy.h>

Inheritance diagram for Aws::Crt::Http::HttpProxyStrategy:
Aws::Crt::Http::AdaptiveHttpProxyStrategy

Public Member Functions

 HttpProxyStrategy (struct aws_http_proxy_strategy *strategy)
 
virtual ~HttpProxyStrategy ()
 

Static Public Member Functions

static std::shared_ptr< HttpProxyStrategyCreateBasicHttpProxyStrategy (const HttpProxyStrategyBasicAuthConfig &config, Allocator *allocator=ApiAllocator())
 
static std::shared_ptr< HttpProxyStrategyCreateAdaptiveHttpProxyStrategy (const HttpProxyStrategyAdaptiveConfig &config, Allocator *allocator=ApiAllocator())
 

Protected Attributes

struct aws_http_proxy_strategy * m_strategy
 

Detailed Description

Wrapper class for a C-level proxy strategy - an object that allows the user to transform or modify the authentication logic when connecting to a proxy.

Constructor & Destructor Documentation

◆ HttpProxyStrategy()

Aws::Crt::Http::HttpProxyStrategy::HttpProxyStrategy ( struct aws_http_proxy_strategy *  strategy)

◆ ~HttpProxyStrategy()

Aws::Crt::Http::HttpProxyStrategy::~HttpProxyStrategy ( )
virtual

Member Function Documentation

◆ CreateAdaptiveHttpProxyStrategy()

std::shared_ptr< HttpProxyStrategy > Aws::Crt::Http::HttpProxyStrategy::CreateAdaptiveHttpProxyStrategy ( const HttpProxyStrategyAdaptiveConfig config,
Allocator allocator = ApiAllocator() 
)
static

Creates a proxy strategy that, depending on configuration, can attempt kerberos and/or ntlm authentication when connecting to the proxy

Parameters
configthe adaptive strategy configuration options
allocatorallocator to use
Returns
a new adaptive proxy strategy

◆ CreateBasicHttpProxyStrategy()

std::shared_ptr< HttpProxyStrategy > Aws::Crt::Http::HttpProxyStrategy::CreateBasicHttpProxyStrategy ( const HttpProxyStrategyBasicAuthConfig config,
Allocator allocator = ApiAllocator() 
)
static

Creates a proxy strategy that performs basic authentication

Parameters
configbasic authentication configuration options
allocatorallocator to use
Returns
a new basic authentication proxy strategy

Member Data Documentation

◆ m_strategy

struct aws_http_proxy_strategy* Aws::Crt::Http::HttpProxyStrategy::m_strategy
protected

The documentation for this class was generated from the following files: