OpenVPN 3 Core Library
|
#include <httpcliset.hpp>
Public Types | |
typedef RCPtr< TransactionSet > | Ptr |
typedef std::vector< std::unique_ptr< Transaction > > | Vector |
![]() | |
typedef RCPtr< RC > | Ptr |
Public Member Functions | |
void | assign_http_state (HTTPStateContainer &http_state) |
bool | alive () const |
WS::ClientSet::Transaction & | first_transaction () |
bool | http_status_success () const |
void | reset_callbacks () |
void | stop (const bool shutdown) |
void | dump (std::ostream &os, const bool content_only=false) const |
![]() | |
RC () noexcept=default | |
RC (const RC &)=delete | |
virtual | ~RC ()=default |
RC & | operator= (const RC &)=delete |
olong | use_count () const noexcept |
Delegates call to RCImpl and returns the result. | |
Public Attributes | |
bool | preserve_http_state = false |
HTTPStateContainer | hsc |
WS::Client::Config::Ptr | http_config |
WS::Client::Host | host |
unsigned int | max_retries = 1 |
bool | retry_on_http_4xx = false |
int | debug_level = 2 |
Time::Duration | delayed_start |
Time::Duration | retry_duration = Time::Duration::seconds(5) |
Vector | transactions |
bool | status = false |
Function< void(TransactionSet &ts)> | completion |
Function< void(TransactionSet &ts, AsioPolySock::Base &sock)> | post_connect |
ErrorRecovery::Ptr | error_recovery |
Additional Inherited Members | |
![]() | |
static constexpr bool | is_thread_safe () |
Delegates call to RCImpl and returns the result. | |
Definition at line 330 of file httpcliset.hpp.
Definition at line 333 of file httpcliset.hpp.
typedef std::vector<std::unique_ptr<Transaction> > openvpn::WS::ClientSet::TransactionSet::Vector |
Definition at line 334 of file httpcliset.hpp.
|
inline |
Definition at line 377 of file httpcliset.hpp.
|
inline |
Definition at line 370 of file httpcliset.hpp.
|
inline |
Definition at line 418 of file httpcliset.hpp.
|
inline |
Definition at line 382 of file httpcliset.hpp.
|
inline |
Definition at line 392 of file httpcliset.hpp.
|
inline |
|
inline |
Definition at line 412 of file httpcliset.hpp.
Function<void(TransactionSet &ts)> openvpn::WS::ClientSet::TransactionSet::completion |
Definition at line 359 of file httpcliset.hpp.
int openvpn::WS::ClientSet::TransactionSet::debug_level = 2 |
Definition at line 348 of file httpcliset.hpp.
Time::Duration openvpn::WS::ClientSet::TransactionSet::delayed_start |
Definition at line 349 of file httpcliset.hpp.
ErrorRecovery::Ptr openvpn::WS::ClientSet::TransactionSet::error_recovery |
Definition at line 368 of file httpcliset.hpp.
WS::Client::Host openvpn::WS::ClientSet::TransactionSet::host |
Definition at line 345 of file httpcliset.hpp.
HTTPStateContainer openvpn::WS::ClientSet::TransactionSet::hsc |
Definition at line 341 of file httpcliset.hpp.
WS::Client::Config::Ptr openvpn::WS::ClientSet::TransactionSet::http_config |
Definition at line 344 of file httpcliset.hpp.
unsigned int openvpn::WS::ClientSet::TransactionSet::max_retries = 1 |
Definition at line 346 of file httpcliset.hpp.
Function<void(TransactionSet &ts, AsioPolySock::Base &sock)> openvpn::WS::ClientSet::TransactionSet::post_connect |
Definition at line 363 of file httpcliset.hpp.
bool openvpn::WS::ClientSet::TransactionSet::preserve_http_state = false |
Definition at line 340 of file httpcliset.hpp.
Time::Duration openvpn::WS::ClientSet::TransactionSet::retry_duration = Time::Duration::seconds(5) |
Definition at line 350 of file httpcliset.hpp.
bool openvpn::WS::ClientSet::TransactionSet::retry_on_http_4xx = false |
Definition at line 347 of file httpcliset.hpp.
bool openvpn::WS::ClientSet::TransactionSet::status = false |
Definition at line 356 of file httpcliset.hpp.
Vector openvpn::WS::ClientSet::TransactionSet::transactions |
Definition at line 353 of file httpcliset.hpp.