#include <websocketpp/config/asio_no_tls.hpp>#include <websocketpp/server.hpp>#include <iostream>#include <set>#include <websocketpp/common/thread.hpp>
Go to the source code of this file.
Classes | |
| struct | action | 
| class | broadcast_server | 
Typedefs | |
| typedef websocketpp::server< websocketpp::config::asio > | server | 
Enumerations | |
| enum | action_type { SUBSCRIBE, UNSUBSCRIBE, MESSAGE } | 
Functions | |
| int | main () | 
Definition at line 13 of file broadcast_server.cpp.
| enum action_type | 
| Enumerator | |
|---|---|
| SUBSCRIBE | |
| UNSUBSCRIBE | |
| MESSAGE | |
Definition at line 31 of file broadcast_server.cpp.
| int main | ( | ) | 
Definition at line 145 of file broadcast_server.cpp.
References broadcast_server::process_messages(), broadcast_server::run(), and websocketpp::exception::what().