AWS IoT Device SDK C++ v2
1.45.2
AWS IoT Device SDK C++ v2
Toggle main menu visibility
Loading...
Searching...
No Matches
crt
aws-crt-cpp
include
aws
crt
io
L4Proxy.h
Go to the documentation of this file.
1
#pragma once
2
7
8
#include <
aws/crt/Types.h
>
9
10
struct
aws_l4_proxy_config;
11
12
namespace
Aws
13
{
14
namespace
Crt
15
{
16
namespace
Io
17
{
18
class
Socks5ProxyOptions
;
19
24
class
AWS_CRT_CPP_API
L4ProxyConfig
25
{
26
public
:
27
L4ProxyConfig
() noexcept = delete;
28
L4ProxyConfig
(const
L4ProxyConfig
&rhs) noexcept = delete;
29
L4ProxyConfig
(
L4ProxyConfig
&&rhs) noexcept = delete;
30
L4ProxyConfig
&operator=(const
L4ProxyConfig
&rhs) noexcept = delete;
31
L4ProxyConfig
&operator=(
L4ProxyConfig
&&rhs) noexcept = delete;
32
33
~
L4ProxyConfig
();
34
42
static
std
::shared_ptr<
L4ProxyConfig
>
newSocks5ProxyConfig
(
43
const
Socks5ProxyOptions
&options,
44
Allocator
*allocator =
ApiAllocator
());
45
52
struct aws_l4_proxy_config *
get
() const noexcept {
return
m_l4ProxyConfig; }
53
54
private
:
55
L4ProxyConfig
(
struct
aws_l4_proxy_config *l4_proxy_config);
56
57
struct
aws_l4_proxy_config *m_l4ProxyConfig;
58
};
59
}
// namespace Io
60
}
// namespace Crt
61
}
// namespace Aws
Types.h
Aws::Crt::Io::L4ProxyConfig
Definition
L4Proxy.h:25
Aws::Crt::Io::L4ProxyConfig::get
struct aws_l4_proxy_config * get() const noexcept
Definition
L4Proxy.h:52
Aws::Crt::Io::L4ProxyConfig::L4ProxyConfig
L4ProxyConfig() noexcept=delete
Aws::Crt::Io::L4ProxyConfig::newSocks5ProxyConfig
static std::shared_ptr< L4ProxyConfig > newSocks5ProxyConfig(const Socks5ProxyOptions &options, Allocator *allocator=ApiAllocator())
Definition
L4Proxy.cpp:27
Aws::Crt::Io::Socks5ProxyOptions
Definition
Socks5.h:129
AWS_CRT_CPP_API
#define AWS_CRT_CPP_API
Definition
Exports.h:36
Aws::Crt::Io
Definition
Credentials.h:23
Aws::Crt
Definition
Allocator.h:13
Aws::Crt::ApiAllocator
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition
Allocator.cpp:24
Aws::Crt::Allocator
aws_allocator Allocator
Definition
Allocator.h:14
Aws
Definition
Allocator.h:11
std
Definition
StringView.h:862
Generated by
1.17.0