smpl
proto::Welcome
The server's welcome on connect: its status and message, the client's own peer record and the rooms it is in.
Welcome
#include <src/symple/src/protocol.h>
struct WelcomeDefined in src/symple/src/protocol.h:19
Public Attributes
status
int status = 200Defined in src/symple/src/protocol.h:21
message
std::string messageDefined in src/symple/src/protocol.h:22
peer
Peer peerType: Peer
Defined in src/symple/src/protocol.h:23
rooms
std::unordered_set< std::string > rooms