OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::WebSocket::Status Class Reference

#include <websocket.hpp>

Public Member Functions

 Status ()
 
 Status (unsigned int opcode, bool fin=true, uint16_t close_status_code=0)
 
 Status (const Status &ref, const unsigned int opcode)
 
bool defined () const
 
unsigned int opcode () const
 
bool fin () const
 
auto close_status_code () const
 
bool operator== (const Status &rhs) const
 
bool operator!= (const Status &rhs) const
 
std::string to_string () const
 

Private Attributes

unsigned int opcode_
 
bool fin_
 
uint16_t close_status_code_
 

Friends

class Receiver
 

Detailed Description

Definition at line 103 of file websocket.hpp.

Constructor & Destructor Documentation

◆ Status() [1/3]

openvpn::WebSocket::Status::Status ( )
inline

Definition at line 106 of file websocket.hpp.

◆ Status() [2/3]

openvpn::WebSocket::Status::Status ( unsigned int  opcode,
bool  fin = true,
uint16_t  close_status_code = 0 
)
inline

Definition at line 113 of file websocket.hpp.

◆ Status() [3/3]

openvpn::WebSocket::Status::Status ( const Status ref,
const unsigned int  opcode 
)
inline

Definition at line 122 of file websocket.hpp.

Member Function Documentation

◆ close_status_code()

auto openvpn::WebSocket::Status::close_status_code ( ) const
inline

Definition at line 145 of file websocket.hpp.

Here is the caller graph for this function:

◆ defined()

bool openvpn::WebSocket::Status::defined ( ) const
inline

Definition at line 130 of file websocket.hpp.

◆ fin()

bool openvpn::WebSocket::Status::fin ( ) const
inline

Definition at line 140 of file websocket.hpp.

Here is the caller graph for this function:

◆ opcode()

unsigned int openvpn::WebSocket::Status::opcode ( ) const
inline

Definition at line 135 of file websocket.hpp.

Here is the caller graph for this function:

◆ operator!=()

bool openvpn::WebSocket::Status::operator!= ( const Status rhs) const
inline

Definition at line 155 of file websocket.hpp.

◆ operator==()

bool openvpn::WebSocket::Status::operator== ( const Status rhs) const
inline

Definition at line 150 of file websocket.hpp.

◆ to_string()

std::string openvpn::WebSocket::Status::to_string ( ) const
inline

Definition at line 160 of file websocket.hpp.

Friends And Related Symbol Documentation

◆ Receiver

friend class Receiver
friend

Definition at line 179 of file websocket.hpp.

Member Data Documentation

◆ close_status_code_

uint16_t openvpn::WebSocket::Status::close_status_code_
private

Definition at line 183 of file websocket.hpp.

◆ fin_

bool openvpn::WebSocket::Status::fin_
private

Definition at line 182 of file websocket.hpp.

◆ opcode_

unsigned int openvpn::WebSocket::Status::opcode_
private

Definition at line 181 of file websocket.hpp.


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