|
OpenVPN 3 Core Library
|
#include <httpcliset.hpp>
Classes | |
| class | Client |
| struct | ErrorRecovery |
| class | HostRetry |
| class | HTTPStateContainer |
| class | HTTPStateContainerAutoStop |
| struct | SyncPersistState |
| struct | Transaction |
| class | TransactionSet |
Public Types | |
| typedef RCPtr< ClientSet > | Ptr |
| typedef WS::Client::HTTPDelegate< Client > | HTTPDelegate |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| typedef RCPtr< RC > | Ptr |
Public Member Functions | |
| ClientSet (openvpn_io::io_context &io_context_arg) | |
| void | set_random (RandomAPI::Ptr prng_arg) |
| void | new_request (const TransactionSet::Ptr ts) |
| void | stop () |
| void | abort (const std::string &message) |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| 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. | |
Static Public Member Functions | |
| static void | new_request_synchronous (const TransactionSet::Ptr ts, Stop *stop=nullptr, RandomAPI *prng=nullptr, const bool sps=false) |
| static void | run_synchronous (Function< void(ClientSet::Ptr)> job, Stop *stop=nullptr, RandomAPI *prng=nullptr) |
Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result. | |
Private Types | |
| typedef unsigned int | client_t |
Private Member Functions | |
| void | remove_client_id (const client_t client_id) |
| client_t | new_client_id () |
Private Attributes | |
| openvpn_io::io_context & | io_context |
| bool | halt |
| client_t | next_id |
| RandomAPI::Ptr | prng |
| std::map< client_t, Client::Ptr > | clients |
Definition at line 44 of file httpcliset.hpp.
|
private |
Definition at line 624 of file httpcliset.hpp.
Definition at line 51 of file httpcliset.hpp.
| typedef RCPtr<ClientSet> openvpn::WS::ClientSet::Ptr |
Definition at line 49 of file httpcliset.hpp.
|
inline |
Definition at line 488 of file httpcliset.hpp.
|
inline |
Definition at line 617 of file httpcliset.hpp.
|
inlineprivate |
|
inline |
Definition at line 500 of file httpcliset.hpp.
|
inlinestatic |
|
inlineprivate |
Definition at line 997 of file httpcliset.hpp.
|
inlinestatic |
Definition at line 579 of file httpcliset.hpp.
|
inline |
Definition at line 495 of file httpcliset.hpp.
|
inline |
|
private |
Definition at line 1019 of file httpcliset.hpp.
|
private |
Definition at line 1016 of file httpcliset.hpp.
|
private |
Definition at line 1015 of file httpcliset.hpp.
|
private |
Definition at line 1017 of file httpcliset.hpp.
|
private |
Definition at line 1018 of file httpcliset.hpp.