OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::WebSocket::Server::PerRequest Class Reference
Inheritance diagram for openvpn::WebSocket::Server::PerRequest:
[legend]
Collaboration diagram for openvpn::WebSocket::Server::PerRequest:
[legend]

Public Types

typedef RCPtr< PerRequestPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 PerRequest (Config::Ptr conf_arg)
 
void set_websocket_key (const std::string &websocket_key)
 
void server_headers (std::ostream &os)
 
- Public Member Functions inherited from openvpn::RC< thread_unsafe_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.
 

Public Attributes

Sender sender
 
Receiver receiver
 

Static Private Member Functions

static Config::Ptr validate_conf (Config::Ptr conf)
 

Private Attributes

Config::Ptr conf
 
std::string websocket_accept
 

Additional Inherited Members

- 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.
 

Detailed Description

Definition at line 500 of file websocket.hpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ PerRequest()

openvpn::WebSocket::Server::PerRequest::PerRequest ( Config::Ptr  conf_arg)
inline

Definition at line 508 of file websocket.hpp.

Member Function Documentation

◆ server_headers()

void openvpn::WebSocket::Server::PerRequest::server_headers ( std::ostream &  os)
inline

Definition at line 520 of file websocket.hpp.

◆ set_websocket_key()

void openvpn::WebSocket::Server::PerRequest::set_websocket_key ( const std::string &  websocket_key)
inline

Definition at line 515 of file websocket.hpp.

◆ validate_conf()

static Config::Ptr openvpn::WebSocket::Server::PerRequest::validate_conf ( Config::Ptr  conf)
inlinestaticprivate

Definition at line 534 of file websocket.hpp.

Member Data Documentation

◆ conf

Config::Ptr openvpn::WebSocket::Server::PerRequest::conf
private

Definition at line 503 of file websocket.hpp.

◆ receiver

Receiver openvpn::WebSocket::Server::PerRequest::receiver

Definition at line 531 of file websocket.hpp.

◆ sender

Sender openvpn::WebSocket::Server::PerRequest::sender

Definition at line 530 of file websocket.hpp.

◆ websocket_accept

std::string openvpn::WebSocket::Server::PerRequest::websocket_accept
private

Definition at line 543 of file websocket.hpp.


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