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

#include <websocket.hpp>

Classes

union  MaskingKey
 

Public Types

enum  Opcode {
  Text = 0x1 , Binary = 0x2 , Close = 0x8 , Ping = 0x9 ,
  Pong = 0xA
}
 

Static Public Member Functions

static std::string opcode_to_string (const unsigned int opcode)
 

Static Public Attributes

static constexpr size_t MAX_HEAD = 16
 

Detailed Description

Definition at line 44 of file websocket.hpp.

Member Enumeration Documentation

◆ Opcode

Enumerator
Text 
Binary 
Close 
Ping 
Pong 

Definition at line 49 of file websocket.hpp.

Member Function Documentation

◆ opcode_to_string()

static std::string openvpn::WebSocket::Protocol::opcode_to_string ( const unsigned int  opcode)
inlinestatic

Definition at line 58 of file websocket.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ MAX_HEAD

constexpr size_t openvpn::WebSocket::Protocol::MAX_HEAD = 16
staticconstexpr

Definition at line 47 of file websocket.hpp.


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