aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
Loading...
Searching...
No Matches
include
aws
crt
io
L4Proxy.h
Go to the documentation of this file.
1
#pragma once
2
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
AWS_CRT_CPP_API
#define AWS_CRT_CPP_API
Definition
Exports.h:36
Types.h
Aws::Crt::Io::L4ProxyConfig
Definition
L4Proxy.h:25
Aws::Crt::Io::L4ProxyConfig::L4ProxyConfig
L4ProxyConfig() noexcept=delete
Aws::Crt::Io::Socks5ProxyOptions
Definition
Socks5.h:129
Aws::Crt::Allocator
aws_allocator Allocator
Definition
Allocator.h:14
Aws
Definition
Allocator.h:11
std
Definition
StringView.h:862
Generated by
1.9.8