Leosac  0.8.0
Open Source Access Control
Leosac::Module::WebSockAPI::ServerMessage Struct Reference

A message sent by the server to a client. More...

#include <Messages.hpp>

+ Collaboration diagram for Leosac::Module::WebSockAPI::ServerMessage:

Public Member Functions

 ServerMessage ()
 

Public Attributes

APIStatusCode status_code
 
std::string status_string
 
std::string uuid
 
std::string type
 
json content
 

Detailed Description

A message sent by the server to a client.

Definition at line 38 of file Messages.hpp.

Constructor & Destructor Documentation

◆ ServerMessage()

Leosac::Module::WebSockAPI::ServerMessage::ServerMessage ( )
inline

Definition at line 40 of file Messages.hpp.

Member Data Documentation

◆ content

json Leosac::Module::WebSockAPI::ServerMessage::content

Definition at line 48 of file Messages.hpp.

◆ status_code

APIStatusCode Leosac::Module::WebSockAPI::ServerMessage::status_code

Definition at line 44 of file Messages.hpp.

◆ status_string

std::string Leosac::Module::WebSockAPI::ServerMessage::status_string

Definition at line 45 of file Messages.hpp.

◆ type

std::string Leosac::Module::WebSockAPI::ServerMessage::type

Definition at line 47 of file Messages.hpp.

◆ uuid

std::string Leosac::Module::WebSockAPI::ServerMessage::uuid

Definition at line 46 of file Messages.hpp.


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