Public Types | Public Member Functions | Public Attributes | List of all members
async_web_server_cpp::WebsocketMessage Class Reference

#include <websocket_message.hpp>

Public Types

enum  type {
  type_unknown, type_text, type_binary, type_close,
  type_ping, type_pong
}
 

Public Member Functions

 WebsocketMessage ()
 

Public Attributes

std::string content
 
enum async_web_server_cpp::WebsocketMessage::type type
 

Detailed Description

A websocket message that in potentially constructed from/destructed to a WebsocketFrame.

Definition at line 109 of file websocket_message.hpp.

Member Enumeration Documentation

◆ type

Enumerator
type_unknown 
type_text 
type_binary 
type_close 
type_ping 
type_pong 

Definition at line 113 of file websocket_message.hpp.

Constructor & Destructor Documentation

◆ WebsocketMessage()

async_web_server_cpp::WebsocketMessage::WebsocketMessage ( )

Definition at line 206 of file websocket_message.cpp.

Member Data Documentation

◆ content

std::string async_web_server_cpp::WebsocketMessage::content

Definition at line 122 of file websocket_message.hpp.

◆ type


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


async_web_server_cpp
Author(s): Mitchell Wills , Russel Toris
autogenerated on Tue Mar 1 2022 23:49:07