AWS IoT Device SDK C++ v2 1.45.2
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Crt::Io::L4ProxyConfig Class Reference

#include <L4Proxy.h>

Public Member Functions

 L4ProxyConfig () noexcept=delete
 L4ProxyConfig (const L4ProxyConfig &rhs) noexcept=delete
 L4ProxyConfig (L4ProxyConfig &&rhs) noexcept=delete
L4ProxyConfig & operator= (const L4ProxyConfig &rhs) noexcept=delete
L4ProxyConfig & operator= (L4ProxyConfig &&rhs) noexcept=delete
 ~L4ProxyConfig ()
struct aws_l4_proxy_config * get () const noexcept

Static Public Member Functions

static std::shared_ptr< L4ProxyConfig > newSocks5ProxyConfig (const Socks5ProxyOptions &options, Allocator *allocator=ApiAllocator())

Detailed Description

Wrapper around a C implementation of an object capable of routing connection attempts properly through an L4 proxy. Only SOCKS5 is supported.

Constructor & Destructor Documentation

◆ L4ProxyConfig() [1/3]

Aws::Crt::Io::L4ProxyConfig::L4ProxyConfig ( )
deletenoexcept

◆ L4ProxyConfig() [2/3]

Aws::Crt::Io::L4ProxyConfig::L4ProxyConfig ( const L4ProxyConfig & rhs)
deletenoexcept

◆ L4ProxyConfig() [3/3]

Aws::Crt::Io::L4ProxyConfig::L4ProxyConfig ( L4ProxyConfig && rhs)
deletenoexcept

◆ ~L4ProxyConfig()

Aws::Crt::Io::L4ProxyConfig::~L4ProxyConfig ( )

Member Function Documentation

◆ get()

struct aws_l4_proxy_config * Aws::Crt::Io::L4ProxyConfig::get ( ) const
inlinenoexcept

Gets the C implementation of the proxy negotiation implementation

◆ newSocks5ProxyConfig()

std::shared_ptr< L4ProxyConfig > Aws::Crt::Io::L4ProxyConfig::newSocks5ProxyConfig ( const Socks5ProxyOptions & options,
Allocator * allocator = ApiAllocator() )
static

Creates a new proxy config instance for tunneling connections through a SOCKS5 proxy

Parameters
optionsconfiguration options related to SOCKS5 proxy negotiation
allocatormemory allocator to use
Returns
a new proxy configuration instance

◆ operator=() [1/2]

L4ProxyConfig & Aws::Crt::Io::L4ProxyConfig::operator= ( const L4ProxyConfig & rhs)
deletenoexcept

◆ operator=() [2/2]

L4ProxyConfig & Aws::Crt::Io::L4ProxyConfig::operator= ( L4ProxyConfig && rhs)
deletenoexcept

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