AWS IoT Device SDK C++ v2 1.45.2
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
L4Proxy.h
Go to the documentation of this file.
1#pragma once
2
7
8#include <aws/crt/Types.h>
9
10struct aws_l4_proxy_config;
11
12namespace Aws
13{
14 namespace Crt
15 {
16 namespace Io
17 {
19
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
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
Definition L4Proxy.h:25
struct aws_l4_proxy_config * get() const noexcept
Definition L4Proxy.h:52
L4ProxyConfig() noexcept=delete
static std::shared_ptr< L4ProxyConfig > newSocks5ProxyConfig(const Socks5ProxyOptions &options, Allocator *allocator=ApiAllocator())
Definition L4Proxy.cpp:27
Definition Socks5.h:129
#define AWS_CRT_CPP_API
Definition Exports.h:36
Definition Credentials.h:23
Definition Allocator.h:13
AWS_CRT_CPP_API Allocator * ApiAllocator() noexcept
Definition Allocator.cpp:24
aws_allocator Allocator
Definition Allocator.h:14
Definition Allocator.h:11
Definition StringView.h:862