Chatterino
Public Types | Public Member Functions | Public Attributes | List of all members
chatterino::PubSubMessage Struct Reference

#include <Base.hpp>

Public Types

enum  Type { Type::Pong, Type::Response, Type::Message, Type::INVALID }
 

Public Member Functions

 PubSubMessage (QJsonObject _object)
 
template<class InnerClass >
boost::optional< InnerClass > toInner ()
 

Public Attributes

QJsonObject object
 
QString nonce
 
QString error
 
QString typeString
 
Type type
 

Member Enumeration Documentation

◆ Type

Enumerator
Pong 
Response 
Message 
INVALID 

Constructor & Destructor Documentation

◆ PubSubMessage()

chatterino::PubSubMessage::PubSubMessage ( QJsonObject  _object)
Here is the caller graph for this function:

Member Function Documentation

◆ toInner()

template<class InnerClass >
boost::optional< InnerClass > chatterino::PubSubMessage::toInner ( )
Here is the call graph for this function:

Member Data Documentation

◆ error

QString chatterino::PubSubMessage::error

◆ nonce

QString chatterino::PubSubMessage::nonce

◆ object

QJsonObject chatterino::PubSubMessage::object

◆ type

Type chatterino::PubSubMessage::type

◆ typeString

QString chatterino::PubSubMessage::typeString

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