OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::WS::Client::HTTPCore Class Referenceabstract

#include <httpcli.hpp>

Inheritance diagram for openvpn::WS::Client::HTTPCore:
[legend]
Collaboration diagram for openvpn::WS::Client::HTTPCore:
[legend]

Classes

struct  AsioProtocol
 

Public Types

typedef RCPtr< HTTPCorePtr
 
using results_type = openvpn_io::ip::tcp::resolver::results_type
 

Public Member Functions

 HTTPCore (openvpn_io::io_context &io_context_arg, Config::Ptr config_arg)
 
virtual ~HTTPCore ()
 
void override_timeouts (TimeoutOverride to_arg)
 
bool is_alive () const
 
bool is_link_active ()
 
bool is_alt_routing_reset () const
 
void check_ready () const
 
void start_request ()
 
void start_request_after (const Time::Duration dur)
 
void stop (const bool shutdown)
 
void abort (const std::string &message, const int status=Status::E_ABORTED)
 
const HTTP::Replyreply () const
 
std::string remote_endpoint_str () const
 
bool remote_ip_port (IP::Addr &addr, unsigned int &port) const
 
Host host_hint ()
 
bool host_match (const std::string &host_arg) const
 
AsioPolySock::Baseget_socket ()
 
void alter_general_timeout_for_streaming ()
 
void streaming_start ()
 
void streaming_restart ()
 
bool is_streaming_restartable () const
 
bool is_streaming_hold () const
 
virtual Host http_host ()=0
 
virtual Request http_request ()=0
 
virtual ContentInfo http_content_info ()
 
virtual BufferPtr http_content_out ()
 
virtual void http_content_out_needed ()
 
virtual void http_headers_received ()
 
virtual void http_headers_sent (const Buffer &buf)
 
virtual void http_mutate_resolver_results (results_type &results)
 
virtual void http_content_in (BufferAllocated &buf)=0
 
virtual void http_done (const int status, const std::string &description)=0
 
virtual void http_keepalive_close (const int status, const std::string &description)
 
virtual void http_post_connect (AsioPolySock::Base &sock)
 
- Public Member Functions inherited from openvpn::WS::HTTPBase< PARENT, CONFIG, STATUS, REQUEST_REPLY, CONTENT_INFO, CONTENT_LENGTH_TYPE, REFCOUNT_BASE >
void rr_reset ()
 
void reset ()
 
bool is_ready () const
 
bool is_websocket () const
 
bool is_deferred () const
 
bool http_in_started () const
 
bool http_out_started () const
 
const REQUEST_REPLY::State & request_reply () const
 
const HTTP::HeaderListheaders () const
 
olong content_length () const
 
std::string ssl_handshake_details () const
 
bool ssl_did_full_handshake () const
 
void ssl_no_cache ()
 
const CONFIG & http_config () const
 
void set_async_out (const bool async_out_arg)
 
void http_content_out_finish (BufferPtr buf)
 
void reduce_max_content_bytes (const CONTENT_LENGTH_TYPE new_max_content_bytes)
 
- Public Member Functions inherited from openvpn::TransportClientParent
virtual ~TransportClientParent ()=default
 

Public Attributes

friend Base
 

Private Types

typedef TCPTransport::TCPLink< AsioProtocol, HTTPCore *, false > LinkImpl
 

Private Member Functions

void verify_frame ()
 
void activity (const bool init)
 
void handle_request ()
 
void resolve_callback (const openvpn_io::error_code &error, results_type results)
 
void handle_tcp_connect (const openvpn_io::error_code &error, const openvpn_io::ip::tcp::endpoint &endpoint)
 
void do_connect (const bool use_link)
 
void set_connect_timeout (unsigned int connect_timeout)
 
void bind_local_addr (AsioPolySock::TCP *s)
 
void schedule_keepalive_timer ()
 
void cancel_keepalive_timer ()
 
void reset_general_timeout (const unsigned int seconds, const bool register_activity_on_input_only_arg)
 
void cancel_general_timeout ()
 
void general_timeout_handler (const openvpn_io::error_code &e)
 
void connect_timeout_handler (const openvpn_io::error_code &e)
 
void set_default_stats ()
 
void generate_request ()
 
void generate_request_http (std::ostream &os, const Request &req)
 
void generate_request_websocket (std::ostream &os, const Request &req)
 
void generate_basic_auth_headers (std::ostream &os, const Request &req)
 
void asio_error_handler (int errcode, const char *func_name, const openvpn_io::error_code &error)
 
void handle_exception (const char *func_name, const std::exception &e)
 
void error_handler (const int errcode, const std::string &err)
 
bool tcp_read_handler (BufferAllocated &b)
 
void tcp_write_queue_needs_send ()
 
void tcp_eof_handler ()
 
void tcp_error_handler (const char *error)
 
BufferPtr base_http_content_out ()
 
void base_http_content_out_needed ()
 
void base_http_out_eof ()
 
bool base_http_headers_received ()
 
void base_http_content_in (BufferAllocated &buf)
 
bool base_link_send (BufferAllocated &buf)
 
bool base_send_queue_empty ()
 
void base_http_done_handler (BufferAllocated &residual, const bool parent_handoff)
 
void base_error_handler (const int errcode, const std::string &err)
 
bool transport_is_openvpn_protocol () override
 
void transport_recv (BufferAllocated &buf) override
 
void transport_needs_send () override
 
std::string err_fmt (const Error::Type fatal_err, const std::string &err_text)
 
void transport_error (const Error::Type fatal_err, const std::string &err_text) override
 
void proxy_error (const Error::Type fatal_err, const std::string &err_text) override
 
void transport_pre_resolve () override
 
void transport_wait_proxy () override
 
void transport_wait () override
 
bool is_keepalive_enabled () const override
 
void disable_keepalive (unsigned int &keepalive_ping, unsigned int &keepalive_timeout) override
 
void transport_connecting () override
 

Private Attributes

openvpn_io::io_context & io_context
 
TimeoutOverride to
 
AsioPolySock::Base::Ptr socket
 
openvpn_io::ip::tcp::resolver resolver
 
Host host
 
LinkImpl::Ptr link
 
TransportClient::Ptr transcli
 
AsioTimerSafe connect_timer
 
AsioTimerSafe general_timer
 
std::unique_ptr< AsioTimerSafereq_timer
 
std::unique_ptr< AsioTimerSafekeepalive_timer
 
Time::Duration general_timeout_duration
 
CoarseTime general_timeout_coarse
 
bool register_activity_on_input_only = false
 
bool content_out_hold = true
 
bool alive = false
 

Additional Inherited Members

- Protected Member Functions inherited from openvpn::WS::HTTPBase< PARENT, CONFIG, STATUS, REQUEST_REPLY, CONTENT_INFO, CONTENT_LENGTH_TYPE, REFCOUNT_BASE >
 HTTPBase (const typename CONFIG::Ptr &config_arg)
 
void http_out_begin ()
 
void http_out ()
 
void tcp_in (BufferAllocated &b)
 
- Protected Attributes inherited from openvpn::WS::HTTPBase< PARENT, CONFIG, STATUS, REQUEST_REPLY, CONTENT_INFO, CONTENT_LENGTH_TYPE, REFCOUNT_BASE >
bool halt = false
 
bool ready = true
 
bool async_out = false
 
bool websocket = false
 
CONFIG::Ptr config
 
CONTENT_INFO content_info
 
SSLAPI::Ptr ssl_sess
 
BufferPtr outbuf
 
Frame::Ptr frame
 
SessionStats::Ptr stats
 

Detailed Description

Definition at line 349 of file httpcli.hpp.

Member Typedef Documentation

◆ LinkImpl

◆ Ptr

Definition at line 358 of file httpcli.hpp.

◆ results_type

using openvpn::WS::Client::HTTPCore::results_type = openvpn_io::ip::tcp::resolver::results_type

Definition at line 360 of file httpcli.hpp.

Constructor & Destructor Documentation

◆ HTTPCore()

openvpn::WS::Client::HTTPCore::HTTPCore ( openvpn_io::io_context &  io_context_arg,
Config::Ptr  config_arg 
)
inline

Definition at line 368 of file httpcli.hpp.

◆ ~HTTPCore()

virtual openvpn::WS::Client::HTTPCore::~HTTPCore ( )
inlinevirtual

Definition at line 384 of file httpcli.hpp.

Member Function Documentation

◆ abort()

void openvpn::WS::Client::HTTPCore::abort ( const std::string &  message,
const int  status = Status::E_ABORTED 
)
inline

Definition at line 481 of file httpcli.hpp.

◆ activity()

void openvpn::WS::Client::HTTPCore::activity ( const bool  init)
inlineprivate

Definition at line 648 of file httpcli.hpp.

Here is the caller graph for this function:

◆ alter_general_timeout_for_streaming()

void openvpn::WS::Client::HTTPCore::alter_general_timeout_for_streaming ( )
inline

Definition at line 545 of file httpcli.hpp.

Here is the caller graph for this function:

◆ asio_error_handler()

void openvpn::WS::Client::HTTPCore::asio_error_handler ( int  errcode,
const char *  func_name,
const openvpn_io::error_code &  error 
)
inlineprivate

Definition at line 1161 of file httpcli.hpp.

Here is the caller graph for this function:

◆ base_error_handler()

void openvpn::WS::Client::HTTPCore::base_error_handler ( const int  errcode,
const std::string &  err 
)
inlineprivate

Definition at line 1331 of file httpcli.hpp.

◆ base_http_content_in()

void openvpn::WS::Client::HTTPCore::base_http_content_in ( BufferAllocated buf)
inlineprivate

Definition at line 1279 of file httpcli.hpp.

◆ base_http_content_out()

BufferPtr openvpn::WS::Client::HTTPCore::base_http_content_out ( )
inlineprivate

Definition at line 1251 of file httpcli.hpp.

◆ base_http_content_out_needed()

void openvpn::WS::Client::HTTPCore::base_http_content_out_needed ( )
inlineprivate

Definition at line 1256 of file httpcli.hpp.

◆ base_http_done_handler()

void openvpn::WS::Client::HTTPCore::base_http_done_handler ( BufferAllocated residual,
const bool  parent_handoff 
)
inlineprivate

Definition at line 1314 of file httpcli.hpp.

◆ base_http_headers_received()

bool openvpn::WS::Client::HTTPCore::base_http_headers_received ( )
inlineprivate

Definition at line 1271 of file httpcli.hpp.

◆ base_http_out_eof()

void openvpn::WS::Client::HTTPCore::base_http_out_eof ( )
inlineprivate

Definition at line 1262 of file httpcli.hpp.

◆ base_link_send()

bool openvpn::WS::Client::HTTPCore::base_link_send ( BufferAllocated buf)
inlineprivate

Definition at line 1284 of file httpcli.hpp.

◆ base_send_queue_empty()

bool openvpn::WS::Client::HTTPCore::base_send_queue_empty ( )
inlineprivate

Definition at line 1306 of file httpcli.hpp.

◆ bind_local_addr()

void openvpn::WS::Client::HTTPCore::bind_local_addr ( AsioPolySock::TCP s)
inlineprivate

Definition at line 996 of file httpcli.hpp.

Here is the caller graph for this function:

◆ cancel_general_timeout()

void openvpn::WS::Client::HTTPCore::cancel_general_timeout ( )
inlineprivate

Definition at line 1055 of file httpcli.hpp.

Here is the caller graph for this function:

◆ cancel_keepalive_timer()

void openvpn::WS::Client::HTTPCore::cancel_keepalive_timer ( )
inlineprivate

Definition at line 1040 of file httpcli.hpp.

Here is the caller graph for this function:

◆ check_ready()

void openvpn::WS::Client::HTTPCore::check_ready ( ) const
inline

Definition at line 418 of file httpcli.hpp.

Here is the caller graph for this function:

◆ connect_timeout_handler()

void openvpn::WS::Client::HTTPCore::connect_timeout_handler ( const openvpn_io::error_code &  e)
inlineprivate

Definition at line 1068 of file httpcli.hpp.

◆ disable_keepalive()

void openvpn::WS::Client::HTTPCore::disable_keepalive ( unsigned int &  keepalive_ping,
unsigned int &  keepalive_timeout 
)
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1389 of file httpcli.hpp.

◆ do_connect()

void openvpn::WS::Client::HTTPCore::do_connect ( const bool  use_link)
inlineprivate

Definition at line 955 of file httpcli.hpp.

Here is the caller graph for this function:

◆ err_fmt()

std::string openvpn::WS::Client::HTTPCore::err_fmt ( const Error::Type  fatal_err,
const std::string &  err_text 
)
inlineprivate

Definition at line 1353 of file httpcli.hpp.

Here is the caller graph for this function:

◆ error_handler()

void openvpn::WS::Client::HTTPCore::error_handler ( const int  errcode,
const std::string &  err 
)
inlineprivate

Definition at line 1171 of file httpcli.hpp.

Here is the caller graph for this function:

◆ general_timeout_handler()

void openvpn::WS::Client::HTTPCore::general_timeout_handler ( const openvpn_io::error_code &  e)
inlineprivate

Definition at line 1062 of file httpcli.hpp.

◆ generate_basic_auth_headers()

void openvpn::WS::Client::HTTPCore::generate_basic_auth_headers ( std::ostream &  os,
const Request req 
)
inlineprivate

Definition at line 1151 of file httpcli.hpp.

Here is the caller graph for this function:

◆ generate_request()

void openvpn::WS::Client::HTTPCore::generate_request ( )
inlineprivate

Definition at line 1080 of file httpcli.hpp.

Here is the caller graph for this function:

◆ generate_request_http()

void openvpn::WS::Client::HTTPCore::generate_request_http ( std::ostream &  os,
const Request req 
)
inlineprivate

Definition at line 1107 of file httpcli.hpp.

Here is the caller graph for this function:

◆ generate_request_websocket()

void openvpn::WS::Client::HTTPCore::generate_request_websocket ( std::ostream &  os,
const Request req 
)
inlineprivate

Definition at line 1135 of file httpcli.hpp.

Here is the caller graph for this function:

◆ get_socket()

AsioPolySock::Base * openvpn::WS::Client::HTTPCore::get_socket ( )
inline

Definition at line 540 of file httpcli.hpp.

◆ handle_exception()

void openvpn::WS::Client::HTTPCore::handle_exception ( const char *  func_name,
const std::exception &  e 
)
inlineprivate

Definition at line 1166 of file httpcli.hpp.

Here is the caller graph for this function:

◆ handle_request()

void openvpn::WS::Client::HTTPCore::handle_request ( )
inlineprivate

Definition at line 671 of file httpcli.hpp.

◆ handle_tcp_connect()

void openvpn::WS::Client::HTTPCore::handle_tcp_connect ( const openvpn_io::error_code &  error,
const openvpn_io::ip::tcp::endpoint &  endpoint 
)
inlineprivate

Definition at line 851 of file httpcli.hpp.

◆ host_hint()

Host openvpn::WS::Client::HTTPCore::host_hint ( )
inline

Definition at line 516 of file httpcli.hpp.

◆ host_match()

bool openvpn::WS::Client::HTTPCore::host_match ( const std::string &  host_arg) const
inline

Definition at line 532 of file httpcli.hpp.

◆ http_content_in()

virtual void openvpn::WS::Client::HTTPCore::http_content_in ( BufferAllocated buf)
pure virtual

Implemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Here is the caller graph for this function:

◆ http_content_info()

virtual ContentInfo openvpn::WS::Client::HTTPCore::http_content_info ( )
inlinevirtual

Reimplemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Definition at line 586 of file httpcli.hpp.

Here is the caller graph for this function:

◆ http_content_out()

virtual BufferPtr openvpn::WS::Client::HTTPCore::http_content_out ( )
inlinevirtual

Reimplemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Definition at line 591 of file httpcli.hpp.

Here is the caller graph for this function:

◆ http_content_out_needed()

virtual void openvpn::WS::Client::HTTPCore::http_content_out_needed ( )
inlinevirtual

Reimplemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Definition at line 596 of file httpcli.hpp.

Here is the caller graph for this function:

◆ http_done()

virtual void openvpn::WS::Client::HTTPCore::http_done ( const int  status,
const std::string &  description 
)
pure virtual

Implemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Here is the caller graph for this function:

◆ http_headers_received()

virtual void openvpn::WS::Client::HTTPCore::http_headers_received ( )
inlinevirtual

Reimplemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Definition at line 600 of file httpcli.hpp.

Here is the caller graph for this function:

◆ http_headers_sent()

virtual void openvpn::WS::Client::HTTPCore::http_headers_sent ( const Buffer buf)
inlinevirtual

Reimplemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Definition at line 604 of file httpcli.hpp.

Here is the caller graph for this function:

◆ http_host()

virtual Host openvpn::WS::Client::HTTPCore::http_host ( )
pure virtual

Implemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Here is the caller graph for this function:

◆ http_keepalive_close()

virtual void openvpn::WS::Client::HTTPCore::http_keepalive_close ( const int  status,
const std::string &  description 
)
inlinevirtual

Reimplemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Definition at line 616 of file httpcli.hpp.

Here is the caller graph for this function:

◆ http_mutate_resolver_results()

virtual void openvpn::WS::Client::HTTPCore::http_mutate_resolver_results ( results_type results)
inlinevirtual

Reimplemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Definition at line 608 of file httpcli.hpp.

Here is the caller graph for this function:

◆ http_post_connect()

virtual void openvpn::WS::Client::HTTPCore::http_post_connect ( AsioPolySock::Base sock)
inlinevirtual

Reimplemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Definition at line 620 of file httpcli.hpp.

Here is the caller graph for this function:

◆ http_request()

virtual Request openvpn::WS::Client::HTTPCore::http_request ( )
pure virtual

Implemented in openvpn::WS::Client::HTTPDelegate< PARENT >.

Here is the caller graph for this function:

◆ is_alive()

bool openvpn::WS::Client::HTTPCore::is_alive ( ) const
inline

Definition at line 395 of file httpcli.hpp.

◆ is_alt_routing_reset()

bool openvpn::WS::Client::HTTPCore::is_alt_routing_reset ( ) const
inline

Definition at line 407 of file httpcli.hpp.

◆ is_keepalive_enabled()

bool openvpn::WS::Client::HTTPCore::is_keepalive_enabled ( ) const
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1384 of file httpcli.hpp.

◆ is_link_active()

bool openvpn::WS::Client::HTTPCore::is_link_active ( )
inline

Definition at line 400 of file httpcli.hpp.

◆ is_streaming_hold()

bool openvpn::WS::Client::HTTPCore::is_streaming_hold ( ) const
inline

Definition at line 575 of file httpcli.hpp.

◆ is_streaming_restartable()

bool openvpn::WS::Client::HTTPCore::is_streaming_restartable ( ) const
inline

Definition at line 570 of file httpcli.hpp.

◆ override_timeouts()

void openvpn::WS::Client::HTTPCore::override_timeouts ( TimeoutOverride  to_arg)
inline

Definition at line 390 of file httpcli.hpp.

◆ proxy_error()

void openvpn::WS::Client::HTTPCore::proxy_error ( const Error::Type  fatal_err,
const std::string &  err_text 
)
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1367 of file httpcli.hpp.

◆ remote_endpoint_str()

std::string openvpn::WS::Client::HTTPCore::remote_endpoint_str ( ) const
inline

Definition at line 492 of file httpcli.hpp.

Here is the caller graph for this function:

◆ remote_ip_port()

bool openvpn::WS::Client::HTTPCore::remote_ip_port ( IP::Addr addr,
unsigned int &  port 
) const
inline

Definition at line 505 of file httpcli.hpp.

◆ reply()

const HTTP::Reply & openvpn::WS::Client::HTTPCore::reply ( ) const
inline

Definition at line 487 of file httpcli.hpp.

Here is the caller graph for this function:

◆ reset_general_timeout()

void openvpn::WS::Client::HTTPCore::reset_general_timeout ( const unsigned int  seconds,
const bool  register_activity_on_input_only_arg 
)
inlineprivate

Definition at line 1046 of file httpcli.hpp.

Here is the caller graph for this function:

◆ resolve_callback()

void openvpn::WS::Client::HTTPCore::resolve_callback ( const openvpn_io::error_code &  error,
results_type  results 
)
inlineprivate

Definition at line 810 of file httpcli.hpp.

◆ schedule_keepalive_timer()

void openvpn::WS::Client::HTTPCore::schedule_keepalive_timer ( )
inlineprivate

Definition at line 1021 of file httpcli.hpp.

Here is the caller graph for this function:

◆ set_connect_timeout()

void openvpn::WS::Client::HTTPCore::set_connect_timeout ( unsigned int  connect_timeout)
inlineprivate

Definition at line 982 of file httpcli.hpp.

Here is the caller graph for this function:

◆ set_default_stats()

void openvpn::WS::Client::HTTPCore::set_default_stats ( )
inlineprivate

Definition at line 1074 of file httpcli.hpp.

Here is the caller graph for this function:

◆ start_request()

void openvpn::WS::Client::HTTPCore::start_request ( )
inline

Definition at line 424 of file httpcli.hpp.

◆ start_request_after()

void openvpn::WS::Client::HTTPCore::start_request_after ( const Time::Duration  dur)
inline

Definition at line 433 of file httpcli.hpp.

◆ stop()

void openvpn::WS::Client::HTTPCore::stop ( const bool  shutdown)
inline

Definition at line 447 of file httpcli.hpp.

Here is the caller graph for this function:

◆ streaming_restart()

void openvpn::WS::Client::HTTPCore::streaming_restart ( )
inline

Definition at line 562 of file httpcli.hpp.

◆ streaming_start()

void openvpn::WS::Client::HTTPCore::streaming_start ( )
inline

Definition at line 554 of file httpcli.hpp.

◆ tcp_eof_handler()

void openvpn::WS::Client::HTTPCore::tcp_eof_handler ( )
inlineprivate

Definition at line 1226 of file httpcli.hpp.

◆ tcp_error_handler()

void openvpn::WS::Client::HTTPCore::tcp_error_handler ( const char *  error)
inlineprivate

Definition at line 1242 of file httpcli.hpp.

◆ tcp_read_handler()

bool openvpn::WS::Client::HTTPCore::tcp_read_handler ( BufferAllocated b)
inlineprivate

Definition at line 1189 of file httpcli.hpp.

Here is the caller graph for this function:

◆ tcp_write_queue_needs_send()

void openvpn::WS::Client::HTTPCore::tcp_write_queue_needs_send ( )
inlineprivate

Definition at line 1211 of file httpcli.hpp.

Here is the caller graph for this function:

◆ transport_connecting()

void openvpn::WS::Client::HTTPCore::transport_connecting ( )
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1394 of file httpcli.hpp.

◆ transport_error()

void openvpn::WS::Client::HTTPCore::transport_error ( const Error::Type  fatal_err,
const std::string &  err_text 
)
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1362 of file httpcli.hpp.

◆ transport_is_openvpn_protocol()

bool openvpn::WS::Client::HTTPCore::transport_is_openvpn_protocol ( )
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1338 of file httpcli.hpp.

◆ transport_needs_send()

void openvpn::WS::Client::HTTPCore::transport_needs_send ( )
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1348 of file httpcli.hpp.

◆ transport_pre_resolve()

void openvpn::WS::Client::HTTPCore::transport_pre_resolve ( )
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1372 of file httpcli.hpp.

◆ transport_recv()

void openvpn::WS::Client::HTTPCore::transport_recv ( BufferAllocated buf)
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1343 of file httpcli.hpp.

◆ transport_wait()

void openvpn::WS::Client::HTTPCore::transport_wait ( )
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1380 of file httpcli.hpp.

◆ transport_wait_proxy()

void openvpn::WS::Client::HTTPCore::transport_wait_proxy ( )
inlineoverrideprivatevirtual

Implements openvpn::TransportClientParent.

Definition at line 1376 of file httpcli.hpp.

◆ verify_frame()

void openvpn::WS::Client::HTTPCore::verify_frame ( )
inlineprivate

Definition at line 628 of file httpcli.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ alive

bool openvpn::WS::Client::HTTPCore::alive = false
private

Definition at line 1427 of file httpcli.hpp.

◆ Base

friend openvpn::WS::Client::HTTPCore::Base

Definition at line 356 of file httpcli.hpp.

◆ connect_timer

AsioTimerSafe openvpn::WS::Client::HTTPCore::connect_timer
private

Definition at line 1417 of file httpcli.hpp.

◆ content_out_hold

bool openvpn::WS::Client::HTTPCore::content_out_hold = true
private

Definition at line 1426 of file httpcli.hpp.

◆ general_timeout_coarse

CoarseTime openvpn::WS::Client::HTTPCore::general_timeout_coarse
private

Definition at line 1423 of file httpcli.hpp.

◆ general_timeout_duration

Time::Duration openvpn::WS::Client::HTTPCore::general_timeout_duration
private

Definition at line 1422 of file httpcli.hpp.

◆ general_timer

AsioTimerSafe openvpn::WS::Client::HTTPCore::general_timer
private

Definition at line 1418 of file httpcli.hpp.

◆ host

Host openvpn::WS::Client::HTTPCore::host
private

Definition at line 1411 of file httpcli.hpp.

◆ io_context

openvpn_io::io_context& openvpn::WS::Client::HTTPCore::io_context
private

Definition at line 1399 of file httpcli.hpp.

◆ keepalive_timer

std::unique_ptr<AsioTimerSafe> openvpn::WS::Client::HTTPCore::keepalive_timer
private

Definition at line 1420 of file httpcli.hpp.

◆ link

LinkImpl::Ptr openvpn::WS::Client::HTTPCore::link
private

Definition at line 1413 of file httpcli.hpp.

◆ register_activity_on_input_only

bool openvpn::WS::Client::HTTPCore::register_activity_on_input_only = false
private

Definition at line 1424 of file httpcli.hpp.

◆ req_timer

std::unique_ptr<AsioTimerSafe> openvpn::WS::Client::HTTPCore::req_timer
private

Definition at line 1419 of file httpcli.hpp.

◆ resolver

openvpn_io::ip::tcp::resolver openvpn::WS::Client::HTTPCore::resolver
private

Definition at line 1406 of file httpcli.hpp.

◆ socket

AsioPolySock::Base::Ptr openvpn::WS::Client::HTTPCore::socket
private

Definition at line 1403 of file httpcli.hpp.

◆ to

TimeoutOverride openvpn::WS::Client::HTTPCore::to
private

Definition at line 1401 of file httpcli.hpp.

◆ transcli

TransportClient::Ptr openvpn::WS::Client::HTTPCore::transcli
private

Definition at line 1415 of file httpcli.hpp.


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