OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::HTTPProxyTransport::Options Class Reference

#include <httpcli.hpp>

Inheritance diagram for openvpn::HTTPProxyTransport::Options:
[legend]
Collaboration diagram for openvpn::HTTPProxyTransport::Options:
[legend]

Classes

struct  CustomHeader
 
struct  CustomHeaderList
 

Public Types

typedef RCPtr< OptionsPtr
 
- Public Types inherited from openvpn::RC< thread_safe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

void set_proxy_server (const std::string &host, const std::string &port)
 
void proxy_server_set_enable_cache (const bool enable_cache)
 
void proxy_server_precache (RemoteList::Ptr &r)
 
- Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Static Public Member Functions

static Ptr parse (const OptionList &opt)
 
- Static Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 

Public Attributes

RemoteList::Ptr proxy_server
 
std::string username
 
std::string password
 
AuthMethod auth_method = Any
 
bool allow_cleartext_auth = false
 
std::string http_version
 
std::string user_agent
 
CustomHeaderList headers
 

Private Member Functions

bool parse_options (const OptionList &opt)
 

Detailed Description

Definition at line 59 of file httpcli.hpp.

Member Typedef Documentation

◆ Ptr

Member Function Documentation

◆ parse()

static Ptr openvpn::HTTPProxyTransport::Options::parse ( const OptionList opt)
inlinestatic

Definition at line 103 of file httpcli.hpp.

Here is the caller graph for this function:

◆ parse_options()

bool openvpn::HTTPProxyTransport::Options::parse_options ( const OptionList opt)
inlineprivate

Definition at line 115 of file httpcli.hpp.

◆ proxy_server_precache()

void openvpn::HTTPProxyTransport::Options::proxy_server_precache ( RemoteList::Ptr r)
inline

Definition at line 97 of file httpcli.hpp.

◆ proxy_server_set_enable_cache()

void openvpn::HTTPProxyTransport::Options::proxy_server_set_enable_cache ( const bool  enable_cache)
inline

Definition at line 92 of file httpcli.hpp.

◆ set_proxy_server()

void openvpn::HTTPProxyTransport::Options::set_proxy_server ( const std::string &  host,
const std::string &  port 
)
inline

Definition at line 87 of file httpcli.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ allow_cleartext_auth

bool openvpn::HTTPProxyTransport::Options::allow_cleartext_auth = false

Definition at line 80 of file httpcli.hpp.

◆ auth_method

AuthMethod openvpn::HTTPProxyTransport::Options::auth_method = Any

Definition at line 79 of file httpcli.hpp.

◆ headers

CustomHeaderList openvpn::HTTPProxyTransport::Options::headers

Definition at line 85 of file httpcli.hpp.

◆ http_version

std::string openvpn::HTTPProxyTransport::Options::http_version

Definition at line 82 of file httpcli.hpp.

◆ password

std::string openvpn::HTTPProxyTransport::Options::password

Definition at line 78 of file httpcli.hpp.

◆ proxy_server

RemoteList::Ptr openvpn::HTTPProxyTransport::Options::proxy_server

Definition at line 76 of file httpcli.hpp.

◆ user_agent

std::string openvpn::HTTPProxyTransport::Options::user_agent

Definition at line 83 of file httpcli.hpp.

◆ username

std::string openvpn::HTTPProxyTransport::Options::username

Definition at line 77 of file httpcli.hpp.


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